diff options
author | Hiroyuki Tanaka <myheroyuki@outlook.com> | 2022-11-10 16:31:03 +0300 |
---|---|---|
committer | Hiroyuki Tanaka <myheroyuki@outlook.com> | 2022-11-10 16:31:03 +0300 |
commit | 1ce80f035cd5d4ee0a214f15af24e7e3587b1d45 (patch) | |
tree | af6996a7992715d9a86bd456cac539eef03275ff /plugins | |
parent | 974535fab487b49e3b902f06806ce765704ebe21 (diff) |
Revert "Merge branch 'Rem-2564' into 'master'"revert-9949dac9
This reverts merge request !2442
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/vnc/vnc_plugin.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/vnc/vnc_plugin.c b/plugins/vnc/vnc_plugin.c index 3bc632323..f98eea56c 100644 --- a/plugins/vnc/vnc_plugin.c +++ b/plugins/vnc/vnc_plugin.c @@ -46,7 +46,6 @@ #define REMMINA_PLUGIN_VNC_FEATURE_SCALE 6 #define REMMINA_PLUGIN_VNC_FEATURE_UNFOCUS 7 #define REMMINA_PLUGIN_VNC_FEATURE_TOOL_SENDCTRLALTDEL 8 -#define REMMINA_PLUGIN_VNC_FEATURE_PREF_COLOR 9 #define VNC_DEFAULT_PORT 5900 @@ -1845,10 +1844,6 @@ static void remmina_plugin_vnc_call_feature(RemminaProtocolWidget *gp, const Rem remmina_plugin_service->file_get_int(remminafile, "colordepth", 32)); SetFormatAndEncodings((rfbClient *)(gpdata->client)); break; - case REMMINA_PLUGIN_VNC_FEATURE_PREF_COLOR: - remmina_plugin_vnc_update_colordepth((rfbClient *)(gpdata->client), - remmina_plugin_service->file_get_int(remminafile, "colordepth", 32)); - SetFormatAndEncodings((rfbClient *)(gpdata->client)); case REMMINA_PLUGIN_VNC_FEATURE_PREF_VIEWONLY: break; case REMMINA_PLUGIN_VNC_FEATURE_PREF_DISABLESERVERINPUT: @@ -2089,8 +2084,6 @@ static const RemminaProtocolFeature remmina_plugin_vnc_features[] = { { REMMINA_PROTOCOL_FEATURE_TYPE_PREF, REMMINA_PLUGIN_VNC_FEATURE_PREF_QUALITY, GINT_TO_POINTER(REMMINA_PROTOCOL_FEATURE_PREF_RADIO), "quality", quality_list }, - { REMMINA_PROTOCOL_FEATURE_TYPE_PREF, REMMINA_PLUGIN_VNC_FEATURE_PREF_COLOR, GINT_TO_POINTER(REMMINA_PROTOCOL_FEATURE_PREF_RADIO), "colordepth", - colordepth_list }, { REMMINA_PROTOCOL_FEATURE_TYPE_PREF, REMMINA_PLUGIN_VNC_FEATURE_PREF_VIEWONLY, GINT_TO_POINTER(REMMINA_PROTOCOL_FEATURE_PREF_CHECK), "viewonly", N_("View only") }, { REMMINA_PROTOCOL_FEATURE_TYPE_PREF, REMMINA_PLUGIN_VNC_FEATURE_PREF_DISABLESERVERINPUT, GINT_TO_POINTER(REMMINA_PROTOCOL_FEATURE_PREF_CHECK), "disableserverinput",N_("Prevent local interaction on the server") }, |