summaryrefslogtreecommitdiff
path: root/sendto/plugins/caja-burn
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-08-03 15:05:07 +0200
committerraveit65 <[email protected]>2017-08-03 15:05:07 +0200
commit4e4ffcead854f685b4df2619d033be64058dd260 (patch)
tree3abbbca4027042266241a68980f131e7ad833cd9 /sendto/plugins/caja-burn
parentbbe64c8a4222347079937d8e79d9206713cc9c6d (diff)
downloadcaja-extensions-4e4ffcead854f685b4df2619d033be64058dd260.tar.bz2
caja-extensions-4e4ffcead854f685b4df2619d033be64058dd260.tar.xz
sendto burn: avoid deprecated gtk_show_uri
Diffstat (limited to 'sendto/plugins/caja-burn')
-rw-r--r--sendto/plugins/caja-burn/caja-burn.c4
1 files changed, 4 insertions, 0 deletions
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;
}