summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-02-28 18:05:39 +0300
committermonsta <[email protected]>2017-02-28 18:05:39 +0300
commit9acf2cfe068682833ebb01cd1f8a6ae60230c23e (patch)
treeb913e4bf4116ea563c53e68f75f81d6388f3cce2
parent1ea32eb2bcdd70274ebaa93ef0ca569caca8d8ee (diff)
downloadpluma-9acf2cfe068682833ebb01cd1f8a6ae60230c23e.tar.bz2
pluma-9acf2cfe068682833ebb01cd1f8a6ae60230c23e.tar.xz
time plugin: use 'destroy' signal - there's no 'dispose' in dialog
-rw-r--r--plugins/time/pluma-time-plugin.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/time/pluma-time-plugin.c b/plugins/time/pluma-time-plugin.c
index 1cda2c35..e2c92026 100644
--- a/plugins/time/pluma-time-plugin.c
+++ b/plugins/time/pluma-time-plugin.c
@@ -448,7 +448,7 @@ get_time (const gchar* format)
}
static void
-dialog_disposed (GObject *obj, gpointer dialog_pointer)
+dialog_destroyed (GObject *obj, gpointer dialog_pointer)
{
pluma_debug (DEBUG_PLUGINS);
@@ -829,8 +829,8 @@ get_configure_dialog (PlumaTimePlugin *plugin)
G_CALLBACK (configure_dialog_button_toggled),
dialog);
g_signal_connect (dialog->dialog,
- "dispose",
- G_CALLBACK (dialog_disposed),
+ "destroy",
+ G_CALLBACK (dialog_destroyed),
dialog);
g_signal_connect (dialog->custom_entry,
"changed",
@@ -991,8 +991,8 @@ get_choose_format_dialog (GtkWindow *parent,
G_CALLBACK (choose_format_dialog_button_toggled),
dialog);
g_signal_connect (dialog->dialog,
- "dispose",
- G_CALLBACK (dialog_disposed),
+ "destroy",
+ G_CALLBACK (dialog_destroyed),
dialog);
g_signal_connect (dialog->custom_entry,
"changed",