nautilus r15144 - in trunk: . src



Author: alexl
Date: Fri Mar 20 10:16:43 2009
New Revision: 15144
URL: http://svn.gnome.org/viewvc/nautilus?rev=15144&view=rev

Log:
2009-03-20  Alexander Larsson  <alexl redhat com>

	Bug 575244 â nautilus crashed with SIGSEGV in nautilus_query_editor_changed_force()

	* src/nautilus-query-editor.c (nautilus_query_editor_dispose):
	Remove typing timeout when destroying.



Modified:
   trunk/ChangeLog
   trunk/src/nautilus-query-editor.c

Modified: trunk/src/nautilus-query-editor.c
==============================================================================
--- trunk/src/nautilus-query-editor.c	(original)
+++ trunk/src/nautilus-query-editor.c	Fri Mar 20 10:16:43 2009
@@ -150,7 +150,11 @@
 	NautilusQueryEditor *editor;
 
 	editor = NAUTILUS_QUERY_EDITOR (object);
-	
+
+	if (editor->details->typing_timeout_id) {
+		g_source_remove (editor->details->typing_timeout_id);
+		editor->details->typing_timeout_id = 0;
+	}
 
 	if (editor->details->bar != NULL) {
 		g_signal_handlers_disconnect_by_func (editor->details->entry,



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