tests: Fix macro by making it use the proper argument types
authorEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 11 Dec 2009 14:17:02 +0000 (15:17 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 11 Dec 2009 14:20:35 +0000 (15:20 +0100)
tests/check/ges/timelineobject.c

index ce114fb..9b684df 100644 (file)
@@ -35,7 +35,9 @@ my_fill_track_func (GESTimelineObject * object,
 }
 
 #define gnl_object_check(gnlobj, start, duration, mstart, mduration, priority, active) { \
-  guint64 pstart, pdur, pmstart, pmdur, pprio, pact;                   \
+  guint64 pstart, pdur, pmstart, pmdur;                                        \
+  guint32 pprio;                                                       \
+  gboolean pact;                                                       \
   g_object_get (gnlobj, "start", &pstart, "duration", &pdur,           \
                "media-start", &pmstart, "media-duration", &pmdur,      \
                "priority", &pprio, "active", &pact,                    \