From 3f2ccd168fd29eb747cd748b859886514f51e888 Mon Sep 17 00:00:00 2001 From: Alex Valavanis Date: Sun, 6 May 2012 17:57:41 +0100 Subject: Don't set colormap in ruler (bzr r11334) --- src/widgets/ruler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/widgets/ruler.cpp') diff --git a/src/widgets/ruler.cpp b/src/widgets/ruler.cpp index 05fbcd9f9..729c5199c 100644 --- a/src/widgets/ruler.cpp +++ b/src/widgets/ruler.cpp @@ -452,13 +452,12 @@ sp_ruler_realize (GtkWidget *widget) attributes.height = allocation.height; 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); attributes.event_mask |= (GDK_EXPOSURE_MASK | GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK); - attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP; + attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL; window = gdk_window_new(gtk_widget_get_parent_window (widget), &attributes, attributes_mask); -- cgit v1.2.3