[vinagre] Get rid of Colormap in GdkWindowAttr



commit de14b809125158908e587acbfceeeccf15012f5a
Author: Jonh Wendell <jwendell gnome org>
Date:   Wed Oct 6 08:45:47 2010 -0300

    Get rid of Colormap in GdkWindowAttr

 vinagre/view/ovBox.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/vinagre/view/ovBox.c b/vinagre/view/ovBox.c
index d30b8ee..1c80fe5 100644
--- a/vinagre/view/ovBox.c
+++ b/vinagre/view/ovBox.c
@@ -375,9 +375,8 @@ ViewOvBoxRealize(GtkWidget *widget) // IN
    attributes.window_type = GDK_WINDOW_CHILD;
    attributes.wclass = GDK_INPUT_OUTPUT;
    attributes.visual = gtk_widget_get_visual(widget);
-   attributes.colormap = gtk_widget_get_colormap(widget);
    attributes.event_mask = gtk_widget_get_events(widget) | GDK_EXPOSURE_MASK;
-   mask = GDK_WA_VISUAL | GDK_WA_COLORMAP | GDK_WA_X | GDK_WA_Y;
+   mask = GDK_WA_VISUAL | GDK_WA_X | GDK_WA_Y;
 
    gtk_widget_get_allocation(widget, &allocation);
    attributes.x = allocation.x;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]