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
1=== modified file 'os/os-pager.c'
2--- os/os-pager.c 2011-03-08 02:17:15 +0000
3+++ os/os-pager.c 2011-03-09 17:19:49 +0000
4@@ -77,9 +77,12 @@
5 attributes.height = priv->allocation.height;
6 attributes.wclass = GDK_INPUT_OUTPUT;
7 attributes.window_type = GDK_WINDOW_CHILD;
8+ attributes.visual = gtk_widget_get_visual (priv->parent);
9+ attributes.colormap = gtk_widget_get_colormap (priv->parent);
10
11 priv->pager_window = gdk_window_new (gtk_widget_get_window (priv->parent),
12- &attributes, 0);
13+ &attributes,
14+ GDK_WA_VISUAL | GDK_WA_COLORMAP);
15
16 gdk_window_set_transient_for (priv->pager_window,
17 gtk_widget_get_window (priv->parent));

Subscribers

People subscribed via source and target branches