fixed gtk warnings
authorJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 26 Oct 2013 20:41:38 +0000 (20:41 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 26 Oct 2013 20:41:38 +0000 (20:41 +0000)
src/glade/ptask.glade
src/main.c

index dfd766c..978906b 100644 (file)
                     </child>
                     <child>
                       <object class="GtkTreeViewColumn" id="description">
-                        <property name="sizing">autosize</property>
                         <property name="fixed_width">10</property>
                         <property name="min_width">30</property>
                         <property name="title" translatable="yes">Description</property>
index 70b65a0..29204e9 100644 (file)
@@ -521,8 +521,6 @@ int main(int argc, char **argv)
        w_priority = GTK_COMBO_BOX(gtk_builder_get_object(builder,
                                                          "taskpriority"));
 
-       refresh();
-
        gtk_builder_connect_signals(builder, NULL);
 
        g_signal_connect(w_treeview,
@@ -544,6 +542,8 @@ int main(int argc, char **argv)
 
        g_object_unref(G_OBJECT(builder));
 
+       refresh();
+
        gtk_widget_show_all(GTK_WIDGET(window));
 
        gtk_main();