[Xfce4-commits] [apps/parole] 01/01: Fix debug build

noreply at xfce.org noreply at xfce.org
Fri Jun 20 06:38:34 CEST 2014


This is an automated email from the git hooks/post-receive script.

bluesabre pushed a commit to branch master
in repository apps/parole.

commit 15f4173818a3d4a62b588dd966d83754fbbaf5db
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Fri Jun 20 00:38:29 2014 -0400

    Fix debug build
---
 configure.ac.in      |    4 ++--
 src/gst/parole-gst.c |    6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index 70c2e2d..4052670 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -184,10 +184,10 @@ AC_ARG_ENABLE([clutter], AC_HELP_STRING([--enable-clutter], [Include clutter bac
 AC_MSG_CHECKING([whether to build the clutter backend])
 AM_CONDITIONAL([PAROLE_CLUTTER_BACKEND], [test x"$ac_clutter" = x"yes"])
 AC_MSG_RESULT([$ac_clutter])
-if test x"$ac_clutter" = x"yes"; then
+if test "x$ac_clutter" = "xyes"; then
     XDT_CHECK_PACKAGE([CLUTTER], [clutter-1.0], [clutter_minimum_version])
     XDT_CHECK_PACKAGE([CLUTTERGTK], [clutter-gtk-1.0], [cluttergtk_minimum_version])
-    AC_DEFINE([HAVE_CLUTTER], [1], [Define to 1 if clutter is found])
+    AC_DEFINE(HAVE_CLUTTER, 1, [Define to 1 if clutter is found])
 fi
 
 # ===================================================== #
diff --git a/src/gst/parole-gst.c b/src/gst/parole-gst.c
index 36382bd..03a0a88 100644
--- a/src/gst/parole-gst.c
+++ b/src/gst/parole-gst.c
@@ -367,11 +367,11 @@ parole_gst_get_video_output_size (ParoleGst *gst, gint *ret_w, gint *ret_h)
 static void
 parole_gst_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
 {
-#if HAVE_CLUTTER
+#ifdef HAVE_CLUTTER
     ParoleGst *gst;
 #endif
     g_return_if_fail (allocation != NULL);
-#if HAVE_CLUTTER
+#ifdef HAVE_CLUTTER
     gst = PAROLE_GST(parole_gst_get());
     if (gst->priv->image_sink == CLUTTERSINK)
         return;
@@ -2193,7 +2193,7 @@ parole_gst_constructed (GObject *object)
         gst->priv->video_sink = gst_element_factory_make ("xvimagesink", "video");
     }
 
-#if HAVE_CLUTTER
+#ifdef HAVE_CLUTTER
     if (g_strcmp0(videosink, "cluttersink") == 0)
     {
         gst->priv->image_sink = CLUTTERSINK;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list