static gchar *uifilename;
-static ZakConfi *confi;
-
static gchar *cnc_string;
static gchar *filter;
FOLDERS_COL_DESCRIPTION, conficonfi->description,
-1);
+ ZakConfi *confi = zak_confi_new (g_strdup_printf ("%s;CONFI_NAME=%s", cnc_string, conficonfi->name));
tree = zak_confi_get_tree (confi);
if (tree != NULL)
{
fill_trFolders_Keys (tree, iter);
}
+ g_object_unref (confi);
lstConfigs = g_list_next (lstConfigs);
}
on_mnuDbClose_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
- g_object_unref (confi);
- confi = NULL;
-
cnc_string = g_strdup ("");
gtk_tree_store_clear (storeFolders);
if (cnc_string != NULL)
{
- confi = zak_confi_new (cnc_string);
+ ZakConfi *confi = zak_confi_new (cnc_string);
if (confi != NULL)
{
if (fill_trFolders (filter))