nautilus r13608 - in trunk: . libnautilus-private



Author: alexl
Date: Tue Jan 15 14:59:20 2008
New Revision: 13608
URL: http://svn.gnome.org/viewvc/nautilus?rev=13608&view=rev

Log:
2008-01-15  Alexander Larsson  <alexl redhat com>

        * libnautilus-private/nautilus-mime-application-chooser.c:
        (nautilus_mime_application_chooser_finalize):
	Disconnect mime changed handler



Modified:
   trunk/ChangeLog
   trunk/libnautilus-private/nautilus-mime-application-chooser.c

Modified: trunk/libnautilus-private/nautilus-mime-application-chooser.c
==============================================================================
--- trunk/libnautilus-private/nautilus-mime-application-chooser.c	(original)
+++ trunk/libnautilus-private/nautilus-mime-application-chooser.c	Tue Jan 15 14:59:20 2008
@@ -82,8 +82,10 @@
 	NUM_COLUMNS
 };
 
-static void refresh_model      (NautilusMimeApplicationChooser *chooser);
-static void refresh_model_soon (NautilusMimeApplicationChooser *chooser);
+static void refresh_model             (NautilusMimeApplicationChooser *chooser);
+static void refresh_model_soon        (NautilusMimeApplicationChooser *chooser);
+static void mime_type_data_changed_cb (GObject                        *signaller,
+				       gpointer                        user_data);
 
 static gpointer parent_class;
 
@@ -97,6 +99,11 @@
 	if (chooser->details->refresh_timeout) {
 		g_source_remove (chooser->details->refresh_timeout);
 	}
+
+	g_signal_handlers_disconnect_by_func (nautilus_signaller_get_current (),
+					      G_CALLBACK (mime_type_data_changed_cb),
+					      chooser);
+	
 	
 	g_free (chooser->details->uri);
 	g_free (chooser->details->content_type);



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