forked from AuroraMiddleware/gtk
mountoperation: Fix a crash
We only create the gesture when the dialog is needed, so don't free it unconditionally.
This commit is contained in:
parent
e0990b2311
commit
e8079df420
@ -231,6 +231,7 @@ gtk_mount_operation_finalize (GObject *object)
|
||||
if (priv->handler)
|
||||
g_object_unref (priv->handler);
|
||||
|
||||
if (priv->multipress_gesture)
|
||||
g_object_unref (priv->multipress_gesture);
|
||||
|
||||
G_OBJECT_CLASS (gtk_mount_operation_parent_class)->finalize (object);
|
||||
|
Loading…
Reference in New Issue
Block a user