summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-desktop-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-desktop/mate-desktop-item.c')
-rw-r--r--libmate-desktop/mate-desktop-item.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libmate-desktop/mate-desktop-item.c b/libmate-desktop/mate-desktop-item.c
index e1cf0a4..3413e56 100644
--- a/libmate-desktop/mate-desktop-item.c
+++ b/libmate-desktop/mate-desktop-item.c
@@ -2080,17 +2080,10 @@ mate_desktop_item_launch_on_screen_with_env (
return -1;
}
-#if GTK_CHECK_VERSION (3, 22, 0)
retval = gtk_show_uri_on_window (NULL,
url,
GDK_CURRENT_TIME,
error);
-#else
- retval = gtk_show_uri (screen,
- url,
- GDK_CURRENT_TIME,
- error);
-#endif
return retval ? 0 : -1;
}