plugins: Add GTK3 support

This commit is contained in:
Stefano Karapetsas
2013-10-30 16:20:47 +01:00
parent 7f0ccea481
commit e79794e482
8 changed files with 69 additions and 1 deletions

View File

@@ -92,7 +92,11 @@ 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);
@@ -194,8 +198,13 @@ 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,