diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2020-05-11 02:18:08 +0300 |
---|---|---|
committer | Antenore Gatta <antenore@simbiosi.org> | 2020-05-11 02:23:28 +0300 |
commit | 85d0901ddd6e5033a09aa3067827515ea4ac4edb (patch) | |
tree | 98bb05c1747e050f1444577ae32e0edc033353ec /plugins/www | |
parent | c48ace9c31dc3789436938fa6ffb1bcfe93d8561 (diff) |
Remove unneeded test and fixed clipboard settings. Fixes #2172
Diffstat (limited to 'plugins/www')
-rw-r--r-- | plugins/www/www_plugin.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/www/www_plugin.c b/plugins/www/www_plugin.c index 4bf6b38ff..a31401f30 100644 --- a/plugins/www/www_plugin.c +++ b/plugins/www/www_plugin.c @@ -813,13 +813,6 @@ static void remmina_plugin_www_save_snapshot(GObject *object, GAsyncResult *resu if (screenshot == NULL) g_debug("WWW: gdk_pixbuf_get_from_surface failed"); - // Transfer the PixBuf in the main clipboard selection - gchar *value = remmina_plugin_service->pref_get_value("deny_screenshot_clipboard"); - if (value && value == FALSE) { - GtkClipboard *c = gtk_clipboard_get(GDK_SELECTION_CLIPBOARD); - gtk_clipboard_set_image(c, screenshot); - } - pngstr = g_string_new(g_strdup_printf("%s/%s.png", remmina_plugin_service->pref_get_value("screenshot_path"), remmina_plugin_service->pref_get_value("screenshot_name"))); |