diff options
author | infirit <[email protected]> | 2014-05-17 03:32:20 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-05-17 03:33:34 +0200 |
commit | 6bc8dd36781c37149b686e8b90e566f0512a998b (patch) | |
tree | 1b839df6b23d0b317335c496cb4637dc098503c3 /copy-n-paste/eggdesktopfile.c | |
parent | f26a32428c48899db7164858b44e252e0e037c7a (diff) | |
download | engrampa-6bc8dd36781c37149b686e8b90e566f0512a998b.tar.bz2 engrampa-6bc8dd36781c37149b686e8b90e566f0512a998b.tar.xz |
Drop support for gtk+ < 2.24
Diffstat (limited to 'copy-n-paste/eggdesktopfile.c')
-rw-r--r-- | copy-n-paste/eggdesktopfile.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/copy-n-paste/eggdesktopfile.c b/copy-n-paste/eggdesktopfile.c index 23bf7ab..a380787 100644 --- a/copy-n-paste/eggdesktopfile.c +++ b/copy-n-paste/eggdesktopfile.c @@ -911,7 +911,6 @@ parse_link (EggDesktopFile *desktop_file, return TRUE; } -#if GTK_CHECK_VERSION (2, 12, 0) static char * start_startup_notification (GdkDisplay *display, EggDesktopFile *desktop_file, @@ -1022,7 +1021,6 @@ set_startup_notification_timeout (GdkDisplay *display, g_timeout_add_seconds (EGG_DESKTOP_FILE_SN_TIMEOUT_LENGTH, startup_notification_timeout, sn_data); } -#endif /* GTK 2.12 */ static GPtrArray * array_putenv (GPtrArray *env, char *variable) @@ -1209,7 +1207,6 @@ egg_desktop_file_launchv (EggDesktopFile *desktop_file, } g_free (command); -#if GTK_CHECK_VERSION (2, 12, 0) startup_id = start_startup_notification (display, desktop_file, argv[0], screen_num, workspace, launch_time); @@ -1220,9 +1217,6 @@ egg_desktop_file_launchv (EggDesktopFile *desktop_file, env = array_putenv (env, startup_id_env); g_free (startup_id_env); } -#else - startup_id = NULL; -#endif /* GTK 2.12 */ if (env != NULL) g_ptr_array_add (env, NULL); @@ -1240,7 +1234,6 @@ egg_desktop_file_launchv (EggDesktopFile *desktop_file, if (startup_id) { -#if GTK_CHECK_VERSION (2, 12, 0) if (current_success) { set_startup_notification_timeout (display, startup_id); @@ -1251,7 +1244,6 @@ egg_desktop_file_launchv (EggDesktopFile *desktop_file, g_free (startup_id); } else -#endif /* GTK 2.12 */ g_free (startup_id); } else if (ret_startup_id) |