summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2006-03-06 18:58:22 +0000
committerVincent Untz <vuntz@src.gnome.org>2006-03-06 18:58:22 +0000
commit36411e7a108df987bac634ecc7996f114c7b28a8 (patch)
tree5fbbab3ea77ca3ef6ff2cde7016eef3b4d160a2f
parent327a8a7a5cd81654de03c027d4f234c0bd6fec39 (diff)
downloadlibwnck-36411e7a108df987bac634ecc7996f114c7b28a8.tar.gz
fixes C89 compliance Patch by Jens Granseuer <jensgr@gmx.net> Fix bug
2006-03-06 Vincent Untz <vuntz@gnome.org> * libwnck/pager.c: (workspace_at_point): fixes C89 compliance Patch by Jens Granseuer <jensgr@gmx.net> Fix bug #332866
-rw-r--r--ChangeLog6
-rw-r--r--libwnck/pager.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c40933..d339751 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2006-03-06 Vincent Untz <vuntz@gnome.org>
+ * libwnck/pager.c: (workspace_at_point): fixes C89 compliance
+ Patch by Jens Granseuer <jensgr@gmx.net>
+ Fix bug #332866
+
+2006-03-06 Vincent Untz <vuntz@gnome.org>
+
* libwnck/tasklist.c: (wnck_tasklist_activate_task_window): don't
minimize the window when it's on another desktop and it was the last
active window. Activate it instead. Fix bug #331661
diff --git a/libwnck/pager.c b/libwnck/pager.c
index a92c4df..e110ad0 100644
--- a/libwnck/pager.c
+++ b/libwnck/pager.c
@@ -771,6 +771,7 @@ workspace_at_point (WnckPager *pager,
while (i < n_spaces)
{
GdkRectangle rect;
+ GtkWidget *widget;
get_workspace_rect (pager, i, &rect);
@@ -779,7 +780,7 @@ workspace_at_point (WnckPager *pager,
* Else, pretend the right/bottom line separating two workspaces belong
* to the workspace.
*/
- GtkWidget *widget = GTK_WIDGET (pager);
+ widget = GTK_WIDGET (pager);
if (rect.x == xthickness)
{