$NetBSD: patch-aa,v 1.3 2005/12/18 21:31:46 rillig Exp $

Keywords: c90

--- src/actions.c.orig	Fri Oct 21 11:58:14 2005
+++ src/actions.c	Sun Dec 18 22:18:21 2005
@@ -138,14 +138,14 @@ ESExpResult *func_center(ESExp *f, int a
   gint xoffset, yoffset, window_width, window_height,
     workspace_width, workspace_height;
   int new_xoffset, new_yoffset;
+  WnckScreen *screen;
+  WnckWorkspace *workspace;
 
   /* read in window geometry */
   wnck_window_get_geometry (c->window,
                             &xoffset, &yoffset, &window_width, &window_height);
 
   /* read in workspace geometry */
-  WnckScreen *screen;
-  WnckWorkspace *workspace;
   screen           = wnck_window_get_screen (c->window);
   workspace        = wnck_screen_get_active_workspace (screen);
   workspace_width  = wnck_workspace_get_width  (workspace);
