Author: olivier
Date: 2008-10-21 21:23:05 +0000 (Tue, 21 Oct 2008)
New Revision: 28351

Modified:
   xfwm4/branches/xfce_4_4/src/events.c
   xfwm4/branches/xfce_4_4/src/hints.c
   xfwm4/branches/xfce_4_4/src/menu.c
Log:
Fix compiler warnings

Modified: xfwm4/branches/xfce_4_4/src/events.c
===================================================================
--- xfwm4/branches/xfce_4_4/src/events.c        2008-10-21 20:34:35 UTC (rev 
28350)
+++ xfwm4/branches/xfce_4_4/src/events.c        2008-10-21 21:23:05 UTC (rev 
28351)
@@ -1361,10 +1361,7 @@
     }
     if (c)
     {
-        gboolean constrained = FALSE;
-        ScreenInfo *screen_info = c->screen_info;
-
-        TRACE ("handleConfigureRequest managed window \"%s\" (0x%lx)", 
c->name, c->window);
+         TRACE ("handleConfigureRequest managed window \"%s\" (0x%lx)", 
c->name, c->window);
         if (FLAG_TEST (c->xfwm_flags, XFWM_FLAG_MOVING_RESIZING))
         {
             /* Sorry, but it's not the right time for configure request */
@@ -2215,7 +2212,6 @@
 static void
 handleXSyncAlarmNotify (DisplayInfo *display_info, XSyncAlarmNotifyEvent * ev)
 {
-    XWindowChanges wc;
     Client *c;
 
     TRACE ("entering handleXSyncAlarmNotify");

Modified: xfwm4/branches/xfce_4_4/src/hints.c
===================================================================
--- xfwm4/branches/xfce_4_4/src/hints.c 2008-10-21 20:34:35 UTC (rev 28350)
+++ xfwm4/branches/xfce_4_4/src/hints.c 2008-10-21 21:23:05 UTC (rev 28351)
@@ -1171,7 +1171,6 @@
 void
 updateXserverTime (DisplayInfo *display_info)
 {
-    ScreenInfo *screen_info;
     char c = '\0';
 
     g_return_if_fail (display_info);

Modified: xfwm4/branches/xfce_4_4/src/menu.c
===================================================================
--- xfwm4/branches/xfce_4_4/src/menu.c  2008-10-21 20:34:35 UTC (rev 28350)
+++ xfwm4/branches/xfce_4_4/src/menu.c  2008-10-21 21:23:05 UTC (rev 28351)
@@ -33,6 +33,7 @@
 #include <libxfce4util/libxfce4util.h>
 
 #include "event_filter.h"
+#include "misc.h"
 #include "menu.h"
 
 static GtkWidget *menu_open = NULL;

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to