[libwnck] [core] Initialize LayoutManager::display
- From: Theppitak Karoonboonyanan <tkaroonb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck] [core] Initialize LayoutManager::display
- Date: Tue, 21 Sep 2010 07:58:07 +0000 (UTC)
commit c4e2408bf81f476ee29f44e44d3adaaaf06afa06
Author: Theppitak Karoonboonyanan <thep linux thai net>
Date: Tue Sep 21 14:54:11 2010 +0700
[core] Initialize LayoutManager::display
Uninitialized value caused problem with multi-row pager.
https://bugzilla.gnome.org/show_bug.cgi?id=630229
libwnck/xutils.c | 1 +
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]