[Xfce4-commits] <midori:master> Use the colormap of the widget with KatzeScrolled

Christian Dywan noreply at xfce.org
Sun Jan 31 20:44:04 CET 2010


Updating branch refs/heads/master
         to 41d41e69ad85873a5cbdbcd2d358232c7f4dc229 (commit)
       from b447070d7d861ef533d1da6ab44a63d52945da3b (commit)

commit 41d41e69ad85873a5cbdbcd2d358232c7f4dc229
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Jan 31 20:39:28 2010 +0100

    Use the colormap of the widget with KatzeScrolled

 katze/katze-scrolled.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/katze/katze-scrolled.c b/katze/katze-scrolled.c
index 87473d3..619e4b7 100644
--- a/katze/katze-scrolled.c
+++ b/katze/katze-scrolled.c
@@ -878,7 +878,7 @@ katze_scrolled_realize (GtkWidget* widget)
                       G_CALLBACK (on_expose_event), scrolled);
 
     color.red = color.green = color.blue = 0x9999;
-    gdk_rgb_find_color (gdk_colormap_get_system (), &color);
+    gdk_rgb_find_color (gtk_widget_get_colormap (widget), &color);
     gdk_window_set_background (priv->vertical_scrollbar_window, &color);
     gdk_window_set_background (priv->horizontal_scrollbar_window, &color);
 



More information about the Xfce4-commits mailing list