]> saetta.ns0.it Git - solipa/libsolipa/commitdiff
Correzione in SolipaUtils::gtktreemodel_copy.
authorAndrea Zagli <a.zagli@comune.scandicci.fi.it>
Tue, 13 Sep 2011 13:02:55 +0000 (15:02 +0200)
committerAndrea Zagli <a.zagli@comune.scandicci.fi.it>
Tue, 13 Sep 2011 13:02:55 +0000 (15:02 +0200)
src/utils.c

index 6be1e4c814f89517181447975fcc4fe815fcd94f..8d48408c4e5a9eee75cd540c8a74043dc2f78d40 100644 (file)
@@ -536,6 +536,10 @@ GtkTreeModel
                                {
                                        model_child = gtk_tree_model_filter_get_model (GTK_TREE_MODEL_FILTER (model));
                                }
+                       else
+                               {
+                                       model_child = NULL;
+                               }
 
                        if (GTK_IS_LIST_STORE (model)
                            || (model_child != NULL && GTK_IS_LIST_STORE (model_child)))