summaryrefslogtreecommitdiff
path: root/plugins/time/pluma-time-plugin.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-19 14:08:24 +0200
committerinfirit <[email protected]>2014-05-19 18:37:37 +0200
commit53be5f994d2c52142debdfdaf089ae077389cfbd (patch)
tree0fa3d45109140a79eccc2533daa39df3c33c1d50 /plugins/time/pluma-time-plugin.c
parentb3097ad42becf1943377a07919d7b9598386c13d (diff)
downloadpluma-53be5f994d2c52142debdfdaf089ae077389cfbd.tar.bz2
pluma-53be5f994d2c52142debdfdaf089ae077389cfbd.tar.xz
Replace GtkObject with Gobject in gtk+2 build
Diffstat (limited to 'plugins/time/pluma-time-plugin.c')
-rwxr-xr-xplugins/time/pluma-time-plugin.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/plugins/time/pluma-time-plugin.c b/plugins/time/pluma-time-plugin.c
index 006d441c..9a32d2a5 100755
--- a/plugins/time/pluma-time-plugin.c
+++ b/plugins/time/pluma-time-plugin.c
@@ -450,11 +450,7 @@ get_time (const gchar* format)
}
static void
-#if GTK_CHECK_VERSION (3, 0, 0)
dialog_disposed (GObject *obj, gpointer dialog_pointer)
-#else
-dialog_destroyed (GtkObject *obj, gpointer dialog_pointer)
-#endif
{
pluma_debug (DEBUG_PLUGINS);
@@ -833,13 +829,8 @@ get_configure_dialog (PlumaTimePlugin *plugin)
G_CALLBACK (configure_dialog_button_toggled),
dialog);
g_signal_connect (dialog->dialog,
-#if GTK_CHECK_VERSION (3, 0, 0)
"dispose",
G_CALLBACK (dialog_disposed),
-#else
- "destroy",
- G_CALLBACK (dialog_destroyed),
-#endif
dialog);
g_signal_connect (dialog->custom_entry,
"changed",
@@ -1000,13 +991,8 @@ get_choose_format_dialog (GtkWindow *parent,
G_CALLBACK (choose_format_dialog_button_toggled),
dialog);
g_signal_connect (dialog->dialog,
-#if GTK_CHECK_VERSION (3, 0, 0)
"dispose",
G_CALLBACK (dialog_disposed),
-#else
- "destroy",
- G_CALLBACK (dialog_destroyed),
-#endif
dialog);
g_signal_connect (dialog->custom_entry,
"changed",