[gnome-applets/wip/gnome-3.10+: 19/48] gweather: set correct column count for GtkTreeStore



commit 90cb325a8904a878f89f5fd318b3e226bed98805
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Jul 6 11:07:53 2014 +0300

    gweather: set correct column count for GtkTreeStore

 gweather/gweather-xml.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gweather/gweather-xml.c b/gweather/gweather-xml.c
index 2aa515f..8ee1959 100644
--- a/gweather/gweather-xml.c
+++ b/gweather/gweather-xml.c
@@ -151,7 +151,7 @@ gweather_xml_load_locations (void)
     if (!world)
        return NULL;
 
-    store = gtk_tree_store_new (2, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_DOUBLE, 
G_TYPE_DOUBLE);
+    store = gtk_tree_store_new (5, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_DOUBLE, 
G_TYPE_DOUBLE);
 
     if (!gweather_xml_parse_node (world, store, NULL)) {
        g_object_unref (store);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]