summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-12-13 14:44:14 +0300
committermonsta <[email protected]>2016-12-13 14:45:16 +0300
commit9d7b458ee07585ecec0021badb47369f281fa4e7 (patch)
treef9f930a129721e04f94bf7b4717912389ef35936
parent0c051115caa2f9bb0f3598a0cd2cf47a97ec1a09 (diff)
downloadpluma-9d7b458ee07585ecec0021badb47369f281fa4e7.tar.bz2
pluma-9d7b458ee07585ecec0021badb47369f281fa4e7.tar.xz
sort plugin: use 'destroy' signal - there's no 'dispose' in dialog
-rw-r--r--plugins/sort/pluma-sort-plugin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/sort/pluma-sort-plugin.c b/plugins/sort/pluma-sort-plugin.c
index ab8cf364..67a3a1ce 100644
--- a/plugins/sort/pluma-sort-plugin.c
+++ b/plugins/sort/pluma-sort-plugin.c
@@ -98,7 +98,7 @@ static const GtkActionEntry action_entries[] =
};
static void
-sort_dialog_dispose (GObject *obj,
+sort_dialog_destroy (GObject *obj,
gpointer dialog_pointer)
{
pluma_debug (DEBUG_PLUGINS);
@@ -203,8 +203,8 @@ get_sort_dialog (PlumaSortPlugin *plugin)
GTK_RESPONSE_OK);
g_signal_connect (dialog->dialog,
- "dispose",
- G_CALLBACK (sort_dialog_dispose),
+ "destroy",
+ G_CALLBACK (sort_dialog_destroy),
dialog);
g_signal_connect (dialog->dialog,