[gnome-user-share] obexpush: don't special case GTK <= 2.14



commit 4b60c40dfa44382868c5b41b85368b9398c99a4a
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon May 21 14:41:19 2012 -0400

    obexpush: don't special case GTK <= 2.14
    
    Since we already depend on > 3.0 in configure.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=676515

 src/obexpush.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/obexpush.c b/src/obexpush.c
index eb46414..e7efcbc 100644
--- a/src/obexpush.c
+++ b/src/obexpush.c
@@ -80,15 +80,10 @@ notification_launch_action_on_file_cb (NotifyNotification *notification,
 
 	g_get_current_time (&val);
 
-#if GTK_CHECK_VERSION(2,14,0)
 	ctx = G_APP_LAUNCH_CONTEXT (gdk_app_launch_context_new ());
 	screen = gdk_screen_get_default ();
 	gdk_app_launch_context_set_screen (GDK_APP_LAUNCH_CONTEXT (ctx), screen);
 	gdk_app_launch_context_set_timestamp (GDK_APP_LAUNCH_CONTEXT (ctx), val.tv_sec);
-#else
-	ctx = NULL;
-	screen = NULL;
-#endif
 
 	/* We launch the file viewer for the file */
 	if (g_str_equal (action, "display") != FALSE) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]