Re: [PATCH] Fix a compile error when the X11 backend is disabled



Hi;

thanks for the patch. I've applied it to the master branch.

Clutter uses Bugzilla to track patches and bugs; for future reference,
you should file a new issue here:

  https://bugzilla.gnome.org/enter_bug.cgi?product=clutter

and attach your patches there. This allows us to quickly track,
review, and commit patches.

Ciao,
 Emmanuele.


On 29 May 2015 at 06:31, Dima Ryazanov <dima gmail com> wrote:
When defining clutter_stage_gdk_update_foreign_event_mask, check for the same
macros as when actually using it.

Signed-off-by: Dima Ryazanov <dima gmail com>
---
 clutter/gdk/clutter-stage-gdk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clutter/gdk/clutter-stage-gdk.c b/clutter/gdk/clutter-stage-gdk.c
index e855a98..1c50208 100644
--- a/clutter/gdk/clutter-stage-gdk.c
+++ b/clutter/gdk/clutter-stage-gdk.c
@@ -70,7 +70,7 @@ G_DEFINE_TYPE_WITH_CODE (ClutterStageGdk,
                          G_IMPLEMENT_INTERFACE (CLUTTER_TYPE_STAGE_WINDOW,
                                                 clutter_stage_window_iface_init));

-#ifdef CLUTTER_WINDOWING_X11
+#if defined(GDK_WINDOWING_X11) && defined(COGL_HAS_XLIB_SUPPORT)
 static void
 clutter_stage_gdk_update_foreign_event_mask (CoglOnscreen *onscreen,
                                             guint32 event_mask,
--
2.4.2

_______________________________________________
clutter-list mailing list
clutter-list gnome org
https://mail.gnome.org/mailman/listinfo/clutter-list



-- 
https://www.bassi.io
[ ] ebassi [ gmail com]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]