Commit cf87ec09 authored by Tomáš Bžatek's avatar Tomáš Bžatek Committed by Tomas Bzatek

Fix callback connection to GtkMountOperation

2008-12-08  Tomas Bzatek  <tbzatek@redhat.com> 

        * libnautilus-private/nautilus-mime-actions.c:
        (activation_mount_not_mounted):
        Fix callback connection to GtkMountOperation


svn path=/trunk/; revision=14801
parent 763314ca
2008-12-08 Tomas Bzatek <tbzatek@redhat.com>
* libnautilus-private/nautilus-mime-actions.c:
(activation_mount_not_mounted):
Fix callback connection to GtkMountOperation
2008-12-06 Cosimo Cecchi <cosimoc@gnome.org>
* cut-n-paste-code/libegg/eggtreemultidnd.c:
......
......@@ -1331,12 +1331,13 @@ activation_mount_not_mounted (ActivateParameters *parameters)
if (parameters->not_mounted != NULL) {
file = parameters->not_mounted->data;
mount_op = gtk_mount_operation_new (parameters->parent_window);
g_signal_connect_object (mount_op, "notify::is-showing",
G_CALLBACK (activate_mount_op_active), parameters, 0);
g_signal_connect (mount_op, "notify::is-showing",
G_CALLBACK (activate_mount_op_active), parameters);
location = nautilus_file_get_location (file);
g_file_mount_enclosing_volume (location, 0, mount_op, parameters->cancellable,
activation_mount_not_mounted_callback, parameters);
g_object_unref (location);
/* unref mount_op here - g_file_mount_enclosing_volume() does ref for itself */
g_object_unref (mount_op);
return;
}
......
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