From 9acf2cfe068682833ebb01cd1f8a6ae60230c23e Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 28 Feb 2017 18:05:39 +0300 Subject: time plugin: use 'destroy' signal - there's no 'dispose' in dialog --- plugins/time/pluma-time-plugin.c | 10 +++++----- 1 file 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", -- cgit v1.2.1