[maemo-commits] [maemo-commits] r17099 - projects/haf/trunk/clutter/clutter/x11

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Jan 12 14:34:07 EET 2009
Author: gw
Date: 2009-01-12 14:34:05 +0200 (Mon, 12 Jan 2009)
New Revision: 17099

Modified:
   projects/haf/trunk/clutter/clutter/x11/clutter-x11-texture-pixmap.c
Log:
Removed warnings that stopped clutter compiling with -Werror



Modified: projects/haf/trunk/clutter/clutter/x11/clutter-x11-texture-pixmap.c
===================================================================
--- projects/haf/trunk/clutter/clutter/x11/clutter-x11-texture-pixmap.c	2009-01-12 12:25:34 UTC (rev 17098)
+++ projects/haf/trunk/clutter/clutter/x11/clutter-x11-texture-pixmap.c	2009-01-12 12:34:05 UTC (rev 17099)
@@ -93,8 +93,10 @@
                                              gint                     height);
 static void
 clutter_x11_texture_pixmap_set_mapped (ClutterX11TexturePixmap *texture, gboolean mapped);
+#ifdef XDAMAGE_HANDLING
 static void
 clutter_x11_texture_pixmap_destroyed (ClutterX11TexturePixmap *texture);
+#endif
 
 static guint signals[LAST_SIGNAL] = { 0, };
 
@@ -1283,6 +1285,7 @@
     }
 }
 
+#ifdef XDAMAGE_HANDLING
 static void
 clutter_x11_texture_pixmap_destroyed (ClutterX11TexturePixmap *texture)
 {
@@ -1301,6 +1304,7 @@
    * be useful e.g. for destroy animations -- app's responsibility.
    */
 }
+#endif
 
 /**
  * clutter_x11_texture_pixmap_update_area:


More information about the maemo-commits mailing list