r18976 - gnucash/trunk/src/gnome-utils - Remove redundant page tab setting code.

Geert Janssens gjanssens at code.gnucash.org
Tue Mar 30 06:20:15 EDT 2010


Author: gjanssens
Date: 2010-03-30 06:20:14 -0400 (Tue, 30 Mar 2010)
New Revision: 18976
Trac: http://svn.gnucash.org/trac/changeset/18976

Modified:
   gnucash/trunk/src/gnome-utils/gnc-main-window.c
Log:
Remove redundant page tab setting code.
The tab is set again some time later in the gnc_main_window_connect function.

Modified: gnucash/trunk/src/gnome-utils/gnc-main-window.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-main-window.c	2010-03-28 22:14:13 UTC (rev 18975)
+++ gnucash/trunk/src/gnome-utils/gnc-main-window.c	2010-03-30 10:20:14 UTC (rev 18976)
@@ -2566,7 +2566,6 @@
         gtk_label_set_max_width_chars(GTK_LABEL(label), width);
     }
     gtk_widget_show (label);
-    g_object_set_data(G_OBJECT (page), PLUGIN_PAGE_TAB_LABEL, label);
 
     tab_hbox = gtk_hbox_new (FALSE, 6);
     gtk_widget_show (tab_hbox);



More information about the gnucash-changes mailing list