From 507a1a6f6363a542ccf5aa3b5e6fa607deed591d Mon Sep 17 00:00:00 2001 From: infirit Date: Wed, 26 Nov 2014 17:42:22 +0100 Subject: geyes: Just use GSourceFunc for both Gtk+ versions --- geyes/geyes.c | 4 ---- 1 file changed, 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); -- cgit v1.2.1