Wrong lstore name in treemodel.c.
authorAndrea Zagli <azagli@libero.it>
Fri, 3 Jan 2020 17:36:36 +0000 (18:36 +0100)
committerAndrea Zagli <azagli@libero.it>
Fri, 3 Jan 2020 17:36:36 +0000 (18:36 +0100)
src/treemodel.c

index a3fd96e085380d3bec83a45c6eb83ea920945dc3..3f4a171c2361bc0160b996f406ac49106cabc4a6 100644 (file)
@@ -347,7 +347,7 @@ zak_utils_gtk_treemodel_to_csv_gui (GtkWindow *parent,
        gtk_builder_add_objects_from_file (builder,
                                           zak_utils_gtk_get_guifile (),
                                           g_strsplit ("diag_gtktreemodel_to_csv"
-                                                      "|lstore_treemodel_campi",
+                                                      "|lstore_treemodel_fields",
                                                       "|", -1),
                                           &error);
        if (error != NULL)
@@ -365,7 +365,7 @@ zak_utils_gtk_treemodel_to_csv_gui (GtkWindow *parent,
                                                             g_get_user_special_dir (G_USER_DIRECTORY_DOCUMENTS));
 
                        /* carico i nomi campi per la selezione nel model */
-                       store = GTK_LIST_STORE (gtk_builder_get_object (builder, "lstore_treemodel_campi"));
+                       store = GTK_LIST_STORE (gtk_builder_get_object (builder, "lstore_treemodel_fields"));
                        if (!GTK_IS_LIST_STORE (store))
                                {
                                        g_warning ("Errore nell'ottenimento del list store.");