Author: rolf
Date: 2008-02-06 17:25:39 -0500 (Wed, 06 Feb 2008)
New Revision: 95087

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/panel.cpp
   trunk/moon/src/runtime.cpp
Log:
* panel.cpp, runtime.cpp: Fix warnings.

Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2008-02-06 22:17:19 UTC (rev 95086)
+++ trunk/moon/src/ChangeLog    2008-02-06 22:25:39 UTC (rev 95087)
@@ -1,3 +1,7 @@
+2008-02-07  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
+
+       * panel.cpp, runtime.cpp: Fix warnings.
+
 2008-02-06  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
 
        * mplayer.cpp: Simplify our advance frame loop: don't lock the queue 
during

Modified: trunk/moon/src/panel.cpp
===================================================================
--- trunk/moon/src/panel.cpp    2008-02-06 22:17:19 UTC (rev 95086)
+++ trunk/moon/src/panel.cpp    2008-02-06 22:25:39 UTC (rev 95087)
@@ -70,15 +70,17 @@
        }
 }
 
-#define DEBUG_BOUNDS 0
+#define DEBUG_BOUNDS 1
 #define CAIRO_CLIP 0
 
+#if DEBUG_BOUNDS
 static void space (int n)
 {
        for (int i = 0; i < n; i++)
                putchar (' ');
 }
 static int levelb = 0;
+#endif
 
 void
 Panel::ComputeBounds ()
@@ -138,9 +140,6 @@
 #endif
 }
 
-
-static int level = 0;
-
 //#define DEBUG_INVALIDATE 1
 
 void

Modified: trunk/moon/src/runtime.cpp
===================================================================
--- trunk/moon/src/runtime.cpp  2008-02-06 22:17:19 UTC (rev 95086)
+++ trunk/moon/src/runtime.cpp  2008-02-06 22:25:39 UTC (rev 95087)
@@ -789,9 +789,9 @@
        gtk_widget_set_extension_events (drawing_area, 
GDK_EXTENSION_EVENTS_CURSOR);
        /* we need to explicitly enable the devices */
        for (GList *l = gdk_devices_list(); l; l = l->next) {
-               GdkDevice *device = GDK_DEVICE(l->data);
 
 #if THIS_NOLONGER_BREAKS_LARRYS_MOUSE
+               GdkDevice *device = GDK_DEVICE(l->data);
                //if (!device->has_cursor)
                gdk_device_set_mode (device, GDK_MODE_SCREEN);
 #endif

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to