diff -Naur vinagre-3.15.2/plugins/rdp/vinagre-rdp-tab.c new/plugins/rdp/vinagre-rdp-tab.c
--- vinagre-3.15.2/plugins/rdp/vinagre-rdp-tab.c	2014-08-18 13:14:30.000000000 +0200
+++ new/plugins/rdp/vinagre-rdp-tab.c	2014-11-28 17:52:46.975641210 +0100
@@ -27,7 +27,6 @@
 #include <freerdp/api.h>
 #include <freerdp/types.h>
 #include <freerdp/freerdp.h>
-#include <freerdp/utils/event.h>
 #include <freerdp/gdi/gdi.h>
 #if HAVE_FREERDP_1_1
 #include <freerdp/locale/keyboard.h>
@@ -363,7 +362,13 @@
   rdpGdi               *gdi;
   int                   stride;
 
-  gdi_init (instance, CLRBUF_24BPP, NULL);
+  gdi_init (instance, 
+  #if defined(FREERDP_VERSION_MAJOR) && defined(FREERDP_VERSION_MINOR) && \
+    !(FREERDP_VERSION_MAJOR > 1 || (FREERDP_VERSION_MAJOR == 1 && \
+    FREERDP_VERSION_MINOR >= 2))
+                    CLRBUF_24BPP, 
+  #endif
+                    CLRBUF_32BPP, NULL);
   gdi = instance->context->gdi;
 
   instance->update->BeginPaint = frdp_begin_paint;
