summaryrefslogtreecommitdiff
path: root/geyes
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-06-02 18:10:47 +0200
committerinfirit <[email protected]>2014-06-02 22:15:46 +0200
commit53a1fe800f9f0c90dc298ba228b29852147794bb (patch)
tree9dd51bac0cfdeb6767577986362c553709f3b333 /geyes
parent4aebcf242c792e3c6e4b0162a74b90c7d882fb38 (diff)
downloadmate-applets-53a1fe800f9f0c90dc298ba228b29852147794bb.tar.bz2
mate-applets-53a1fe800f9f0c90dc298ba228b29852147794bb.tar.xz
Replace GtkObject with GObject also for gtk2
Diffstat (limited to 'geyes')
-rw-r--r--geyes/geyes.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/geyes/geyes.c b/geyes/geyes.c
index f0bcd5c8..161c1682 100644
--- a/geyes/geyes.c
+++ b/geyes/geyes.c
@@ -304,11 +304,7 @@ create_eyes (MatePanelApplet *applet)
}
static void
-#if GTK_CHECK_VERSION (3, 0, 0)
dispose_cb (GObject *object, EyesApplet *eyes_applet)
-#else
-destroy_cb (GtkObject *object, EyesApplet *eyes_applet)
-#endif
{
g_return_if_fail (eyes_applet);
@@ -446,13 +442,8 @@ geyes_applet_fill (MatePanelApplet *applet)
G_CALLBACK (applet_back_change),
eyes_applet);
g_signal_connect (eyes_applet->vbox,
-#if GTK_CHECK_VERSION (3, 0, 0)
"dispose",
G_CALLBACK (dispose_cb),
-#else
- "destroy",
- G_CALLBACK (destroy_cb),
-#endif
eyes_applet);
gtk_widget_show_all (GTK_WIDGET (eyes_applet->applet));