]> git.pld-linux.org Git - packages/vinagre.git/commitdiff
- more freerdp compat fixes auto/th/vinagre-3.22.0-1
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 27 Nov 2016 18:38:51 +0000 (19:38 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 27 Nov 2016 18:38:51 +0000 (19:38 +0100)
vinagre-freerdp.patch

index 88631882fb94c90225dc9fbbac2d6a8cf7bee005..f4160232e722dda64675fc004e1200f4872c1808 100644 (file)
  }
  
  static void
+@@ -1207,10 +1207,13 @@
+   init_freerdp (rdp_tab);
+   init_display (rdp_tab);
++#if HAVE_FREERDP_1_1
+   do
+     {
++#endif
+       /* Run FreeRDP session */
+       success = freerdp_connect (priv->freerdp_session);
++#if HAVE_FREERDP_1_1
+       if (!success)
+         {
+           authentication_errors += freerdp_get_last_error (priv->freerdp_session->context) == 0x20009 ||
+@@ -1223,11 +1226,14 @@
+         }
+     }
+   while (!success && authentication_errors < 3);
++#endif
+   if (!success)
+     {
+       gtk_window_unfullscreen (window);
++#if HAVE_FREERDP_1_1
+       if (!cancelled)
++#endif
+         vinagre_utils_show_error_dialog (_("Error connecting to host."),
+                                          NULL,
+                                          window);
This page took 0.084162 seconds and 4 git commands to generate.