summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheppitak Karoonboonyanan <thep@linux.thai.net>2010-09-21 14:54:11 +0700
committerTheppitak Karoonboonyanan <thep@linux.thai.net>2010-09-21 14:54:11 +0700
commitc4e2408bf81f476ee29f44e44d3adaaaf06afa06 (patch)
tree2881b336119c02535905bb422307d288e00ae1aa
parentbd5613880bc9813b618c75b735b012f868629341 (diff)
downloadlibwnck-c4e2408bf81f476ee29f44e44d3adaaaf06afa06.tar.gz
[core] Initialize LayoutManager::display
Uninitialized value caused problem with multi-row pager. https://bugzilla.gnome.org/show_bug.cgi?id=630229
-rw-r--r--libwnck/xutils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libwnck/xutils.c b/libwnck/xutils.c
index 33caa9e..92b9201 100644
--- a/libwnck/xutils.c
+++ b/libwnck/xutils.c
@@ -2604,6 +2604,7 @@ _wnck_try_desktop_layout_manager (Screen *xscreen,
lm = g_slice_new0 (LayoutManager);
+ lm->display = display;
lm->screen_number = number;
lm->token = next_token;
++next_token;