[gtk+/rendering-cleanup: 16/124] spinner: We want the default colormap, not the RGB colormap
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 16/124] spinner: We want the default colormap, not the RGB colormap
- Date: Thu, 22 Jul 2010 02:00:00 +0000 (UTC)
commit f115283963c8746d0db14bc4d807c7bf9567de53
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]