[gtk+/rendering-cleanup: 16/40] spinner: We want the default colormap, not the RGB colormap



commit e8da383cba957ad4da2dcf42d80f97a73d223b8a
Author: Benjamin Otte <otte redhat com>
Date:   Tue Jul 13 02:22:40 2010 +0200

    spinner: We want the default colormap, not the RGB colormap
    
    GtkSpinner doesn't use GdkRGB

 gtk/gtkspinner.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkspinner.c b/gtk/gtkspinner.c
index b17c0ea..767728c 100644
--- a/gtk/gtkspinner.c
+++ b/gtk/gtkspinner.c
@@ -326,7 +326,7 @@ gtk_spinner_screen_changed (GtkWidget* widget, GdkScreen* old_screen)
 
   if (!colormap)
     {
-      colormap = gdk_screen_get_rgb_colormap (new_screen);
+      colormap = gdk_screen_get_default_colormap (new_screen);
     }
 
   gtk_widget_set_colormap (widget, colormap);



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