gconf-editor r1341 - in trunk: . src



Author: sdroege
Date: Tue Feb  5 16:43:18 2008
New Revision: 1341
URL: http://svn.gnome.org/viewvc/gconf-editor?rev=1341&view=rev

Log:
* src/gconf-search-dialog.c: (gconf_search_dialog_search): Don't add
a memory address on the stack as a weak pointer. Fixes segfault when
closing the search dialog with Esc (bug #483382).


Modified:
   trunk/ChangeLog
   trunk/src/gconf-search-dialog.c

Modified: trunk/src/gconf-search-dialog.c
==============================================================================
--- trunk/src/gconf-search-dialog.c	(original)
+++ trunk/src/gconf-search-dialog.c	Tue Feb  5 16:43:18 2008
@@ -94,8 +94,6 @@
 	gdk_cursor_unref (cursor);
 	gdk_display_flush (gtk_widget_get_display (GTK_WIDGET (dialog)));
 
-	g_object_add_weak_pointer (G_OBJECT (dialog), (gpointer)&dialog);
-
 	res = gconf_tree_model_build_match_list  (GCONF_TREE_MODEL (window->tree_model),
 						  GEDIT_OUTPUT_WINDOW (window->output_window), 
 						  pattern,



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