[gtk+/rendering-cleanup: 16/22] 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/22] spinner: We want the default colormap, not the RGB colormap
- Date: Tue, 13 Jul 2010 00:57:47 +0000 (UTC)
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]