Merge lp:~cimi/overlay-scrollbar/colormap-fix into lp:overlay-scrollbar

Proposed by Andrea Cimitan
Status: Merged
Merged at revision: 149
Proposed branch: lp:~cimi/overlay-scrollbar/colormap-fix
Merge into: lp:overlay-scrollbar
Diff against target: 17 lines (+4/-1)
1 file modified
os/os-pager.c (+4/-1)
To merge this branch: bzr merge lp:~cimi/overlay-scrollbar/colormap-fix
Reviewer Review Type Date Requested Status
Loïc Molinari (community) Approve
Review via email: mp+52717@code.launchpad.net

Description of the change

Just load the proper colormap for the pager

To post a comment you must log in.
Revision history for this message
Loïc Molinari (loic.molinari) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'os/os-pager.c'
--- os/os-pager.c 2011-03-08 02:17:15 +0000
+++ os/os-pager.c 2011-03-09 17:19:49 +0000
@@ -77,9 +77,12 @@
77 attributes.height = priv->allocation.height;77 attributes.height = priv->allocation.height;
78 attributes.wclass = GDK_INPUT_OUTPUT;78 attributes.wclass = GDK_INPUT_OUTPUT;
79 attributes.window_type = GDK_WINDOW_CHILD;79 attributes.window_type = GDK_WINDOW_CHILD;
80 attributes.visual = gtk_widget_get_visual (priv->parent);
81 attributes.colormap = gtk_widget_get_colormap (priv->parent);
8082
81 priv->pager_window = gdk_window_new (gtk_widget_get_window (priv->parent),83 priv->pager_window = gdk_window_new (gtk_widget_get_window (priv->parent),
82 &attributes, 0);84 &attributes,
85 GDK_WA_VISUAL | GDK_WA_COLORMAP);
8386
84 gdk_window_set_transient_for (priv->pager_window,87 gdk_window_set_transient_for (priv->pager_window,
85 gtk_widget_get_window (priv->parent));88 gtk_widget_get_window (priv->parent));

Subscribers

People subscribed via source and target branches