Commit a8432750 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson
Browse files

Disconnect mime changed handler

2008-01-15  Alexander Larsson  <alexl@redhat.com>

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


svn path=/trunk/; revision=13608
parent cae57c66
2008-01-15 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-mime-application-chooser.c:
(nautilus_mime_application_chooser_finalize):
Disconnect mime changed handler
2008-01-15 Alexander Larsson <alexl@redhat.com>
* src/nautilus-file-management-properties.c:
......
......@@ -84,6 +84,8 @@ enum {
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;
......@@ -98,6 +100,11 @@ nautilus_mime_application_chooser_finalize (GObject *object)
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);
g_free (chooser->details->extension);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment