diff options
author | raveit65 <[email protected]> | 2017-08-03 15:05:07 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-03 15:05:07 +0200 |
commit | 4e4ffcead854f685b4df2619d033be64058dd260 (patch) | |
tree | 3abbbca4027042266241a68980f131e7ad833cd9 /sendto | |
parent | bbe64c8a4222347079937d8e79d9206713cc9c6d (diff) | |
download | caja-extensions-4e4ffcead854f685b4df2619d033be64058dd260.tar.bz2 caja-extensions-4e4ffcead854f685b4df2619d033be64058dd260.tar.xz |
sendto burn: avoid deprecated gtk_show_uri
Diffstat (limited to 'sendto')
-rw-r--r-- | sendto/plugins/caja-burn/caja-burn.c | 4 |
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; } |