dasher r3462 - trunk/Src/Gtk2



Author: pcowans
Date: Fri Mar 21 21:22:45 2008
New Revision: 3462
URL: http://svn.gnome.org/viewvc/dasher?rev=3462&view=rev

Log:
* Committing patch to fix ref counting on glade widgets


Modified:
   trunk/Src/Gtk2/Preferences.cpp

Modified: trunk/Src/Gtk2/Preferences.cpp
==============================================================================
--- trunk/Src/Gtk2/Preferences.cpp	(original)
+++ trunk/Src/Gtk2/Preferences.cpp	Fri Mar 21 21:22:45 2008
@@ -234,7 +234,7 @@
   pPrivate->pEditor = pEditor;
   pPrivate->pAppSettings = pAppSettings;
 
-  pPrivate->pGladeXML = pGladeWidgets;
+  pPrivate->pGladeXML = g_object_ref(pGladeWidgets);
 
   pPrivate->pPreferencesWindow = glade_xml_get_widget(pGladeWidgets, "preferences");
 



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