summaryrefslogtreecommitdiff
path: root/geyes/geyes.c
diff options
context:
space:
mode:
Diffstat (limited to 'geyes/geyes.c')
-rw-r--r--geyes/geyes.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/geyes/geyes.c b/geyes/geyes.c
index 07c17256..161c1682 100644
--- a/geyes/geyes.c
+++ b/geyes/geyes.c
@@ -20,6 +20,7 @@
#include <config.h>
#include <math.h>
#include <stdlib.h>
+#include <libmate-desktop/mate-aboutdialog.h>
#include <mate-panel-applet.h>
#include <mate-panel-applet-gsettings.h>
#include "geyes.h"
@@ -191,7 +192,7 @@ about_cb (GtkAction *action,
NULL
};
- gtk_show_about_dialog (NULL,
+ mate_show_about_dialog (NULL,
"version", VERSION,
"comments", _("A goofy set of eyes for the MATE "
"panel. They follow your mouse."),
@@ -303,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);
@@ -445,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));