summaryrefslogtreecommitdiff
path: root/geyes/geyes.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-26 17:42:22 +0100
committerinfirit <[email protected]>2014-11-26 18:13:43 +0100
commit507a1a6f6363a542ccf5aa3b5e6fa607deed591d (patch)
tree1422667121589070c494b74504ed559bcefb734b /geyes/geyes.c
parent0b2150010cd81cd3b22c209553e6ba342d0bf692 (diff)
downloadmate-applets-507a1a6f6363a542ccf5aa3b5e6fa607deed591d.tar.bz2
mate-applets-507a1a6f6363a542ccf5aa3b5e6fa607deed591d.tar.xz
geyes: Just use GSourceFunc for both Gtk+ versions
Diffstat (limited to 'geyes/geyes.c')
-rw-r--r--geyes/geyes.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/geyes/geyes.c b/geyes/geyes.c
index 49a79402..a2becb72 100644
--- a/geyes/geyes.c
+++ b/geyes/geyes.c
@@ -412,11 +412,7 @@ geyes_applet_fill (MatePanelApplet *applet)
eyes_applet = create_eyes (applet);
eyes_applet->timeout_id = g_timeout_add (
-#if GTK_CHECK_VERSION (3, 0, 0)
UPDATE_TIMEOUT, (GSourceFunc) timer_cb, eyes_applet);
-#else
- UPDATE_TIMEOUT, (GtkFunction) timer_cb, eyes_applet);
-#endif
action_group = gtk_action_group_new ("Geyes Applet Actions");
gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE);