Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta <antenore@simbiosi.org>2018-09-27 01:33:00 +0300
committerAntenore Gatta <antenore@simbiosi.org>2018-09-27 01:33:00 +0300
commit58b124289751c5a5f54816cd430b148a8555e887 (patch)
tree114a9aec875cbf9297a05caf29db2aca012a8919 /src/remmina_plugin_manager.c
parent129b766453723c0074c8bf5d3f10b0c1550796c1 (diff)
Plugin declare it uses GtkSocket and rcw block the call if not supported
Diffstat (limited to 'src/remmina_plugin_manager.c')
-rw-r--r--src/remmina_plugin_manager.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/remmina_plugin_manager.c b/src/remmina_plugin_manager.c
index 424ea9f23..26fb2d03c 100644
--- a/src/remmina_plugin_manager.c
+++ b/src/remmina_plugin_manager.c
@@ -128,18 +128,6 @@ static void init_settings_cache(RemminaPlugin *plugin)
static gboolean remmina_plugin_manager_register_plugin(RemminaPlugin *plugin)
{
TRACE_CALL(__func__);
- gboolean usegtksocket = FALSE;
- /* TODO: usegtksocket should be defined inside the plugin, not tested here */
- usegtksocket = (g_strcmp0 (plugin->name, "ST") == 0 ||
- g_strcmp0 (plugin->name, "XDMCP") == 0 ||
- g_strcmp0 (plugin->name, "NX") == 0 ) ? TRUE : FALSE;
- if (remmina_gtksocket_available() == FALSE && usegtksocket == TRUE) {
- // We don't have an X11 display, so GtkSocket will not work
- remmina_public_send_notification("remmina-x11-notsupported",
- _("X11 backend not available"),
- _("XWayland or Xorg are required"));
- return FALSE;
- }
if (plugin->type == REMMINA_PLUGIN_TYPE_SECRET) {
if (remmina_secret_plugin) {
g_print("Remmina plugin %s (type=%s) bypassed.\n", plugin->name,