summaryrefslogtreecommitdiff
path: root/plugins/docinfo
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/docinfo
parentb3097ad42becf1943377a07919d7b9598386c13d (diff)
downloadpluma-53be5f994d2c52142debdfdaf089ae077389cfbd.tar.bz2
pluma-53be5f994d2c52142debdfdaf089ae077389cfbd.tar.xz
Replace GtkObject with Gobject in gtk+2 build
Diffstat (limited to 'plugins/docinfo')
-rwxr-xr-xplugins/docinfo/pluma-docinfo-plugin.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/plugins/docinfo/pluma-docinfo-plugin.c b/plugins/docinfo/pluma-docinfo-plugin.c
index 1cfe0238..520274bb 100755
--- a/plugins/docinfo/pluma-docinfo-plugin.c
+++ b/plugins/docinfo/pluma-docinfo-plugin.c
@@ -72,11 +72,7 @@ static void docinfo_dialog_response_cb (GtkDialog *widget,
PlumaWindow *window);
static void
-#if GTK_CHECK_VERSION (3, 0, 0)
-docinfo_dialog_dispose_cb (GObject *obj,
-#else
-docinfo_dialog_destroy_cb (GtkObject *obj,
-#endif
+docinfo_dialog_destroy_cb (GObject *obj,
WindowData *data)
{
pluma_debug (DEBUG_PLUGINS);
@@ -146,14 +142,10 @@ get_docinfo_dialog (PlumaWindow *window,
GTK_WINDOW (window));
g_signal_connect (dialog->dialog,
-#if GTK_CHECK_VERSION (3, 0, 0)
- "dispose",
- G_CALLBACK (docinfo_dialog_dispose_cb),
-#else
"destroy",
G_CALLBACK (docinfo_dialog_destroy_cb),
-#endif
data);
+
g_signal_connect (dialog->dialog,
"response",
G_CALLBACK (docinfo_dialog_response_cb),