Replace GtkObject with Gobject in gtk+2 build

This commit is contained in:
infirit
2014-05-19 14:08:24 +02:00
parent b3097ad42b
commit 53be5f994d
7 changed files with 2 additions and 105 deletions

View File

@@ -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",