struct _EvBackendInfo {
gchar *module_name;
GTypeModule *module;
+ gboolean resident;
GType type_id;
return NULL;
}
+ info->resident = g_key_file_get_boolean (backend_file, EV_BACKENDS_GROUP,
+ "Resident", NULL);
+
info->type_desc = g_key_file_get_locale_string (backend_file, EV_BACKENDS_GROUP,
"TypeDescription", NULL, NULL);
if (!info->type_desc) {
gchar *path;
path = g_module_build_path (EV_BACKENDSDIR, info->module_name);
- info->module = G_TYPE_MODULE (ev_module_new (path));
+ info->module = G_TYPE_MODULE (ev_module_new (path, info->resident));
g_free (path);
}