From 4e4ffcead854f685b4df2619d033be64058dd260 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 3 Aug 2017 15:05:07 +0200 Subject: sendto burn: avoid deprecated gtk_show_uri --- sendto/plugins/caja-burn/caja-burn.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sendto/plugins/caja-burn/caja-burn.c b/sendto/plugins/caja-burn/caja-burn.c index 07d2e41..a135676 100644 --- a/sendto/plugins/caja-burn/caja-burn.c +++ b/sendto/plugins/caja-burn/caja-burn.c @@ -157,7 +157,11 @@ gboolean send_files (NstPlugin *plugin, copy_files_to (file_list, burn); +#if GTK_CHECK_VERSION (3, 22, 0) + gtk_show_uri_on_window (NULL, "burn:///", GDK_CURRENT_TIME, NULL); +#else gtk_show_uri (NULL, "burn:///", GDK_CURRENT_TIME, NULL); +#endif return TRUE; } -- cgit v1.2.1