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

@@ -92,11 +92,7 @@ static const GtkActionEntry action_entries[] =
};
static void
#if GTK_CHECK_VERSION (3, 0, 0)
sort_dialog_dispose (GObject *obj,
#else
sort_dialog_destroy (GtkObject *obj,
#endif
gpointer dialog_pointer)
{
pluma_debug (DEBUG_PLUGINS);
@@ -198,13 +194,8 @@ get_sort_dialog (ActionData *action_data)
GTK_RESPONSE_OK);
g_signal_connect (dialog->dialog,
#if GTK_CHECK_VERSION (3, 0, 0)
"dispose",
G_CALLBACK (sort_dialog_dispose),
#else
"destroy",
G_CALLBACK (sort_dialog_destroy),
#endif
dialog);
g_signal_connect (dialog->dialog,