/* FIXME : We only grow the height */
if (object->height < (max_prio - min_prio + 1)) {
object->height = max_prio - min_prio + 1;
+#if GLIB_CHECK_VERSION(2,26,0)
g_object_notify_by_pspec (G_OBJECT (object), properties[PROP_HEIGHT]);
+#else
+ g_object_notify (G_OBJECT (object), "height");
+#endif
}
} else {
/* Or update the parent priority */
ges_track_object_set_start (GESTrackObject * object, guint64 start)
{
if (ges_track_object_set_start_internal (object, start))
+#if GLIB_CHECK_VERSION(2,26,0)
g_object_notify_by_pspec (G_OBJECT (object), properties[PROP_START]);
+#else
+ g_object_notify (G_OBJECT (object), "start");
+#endif
}
static inline gboolean
ges_track_object_set_inpoint (GESTrackObject * object, guint64 inpoint)
{
if (ges_track_object_set_inpoint_internal (object, inpoint))
+#if GLIB_CHECK_VERSION(2,26,0)
g_object_notify_by_pspec (G_OBJECT (object), properties[PROP_INPOINT]);
+#else
+ g_object_notify (G_OBJECT (object), "in-point");
+#endif
}
static inline gboolean
ges_track_object_set_duration (GESTrackObject * object, guint64 duration)
{
if (ges_track_object_set_duration_internal (object, duration))
+#if GLIB_CHECK_VERSION(2,26,0)
g_object_notify_by_pspec (G_OBJECT (object), properties[PROP_DURATION]);
+#else
+ g_object_notify (G_OBJECT (object), "duration");
+#endif
}
static inline gboolean
ges_track_object_set_priority (GESTrackObject * object, guint32 priority)
{
if (ges_track_object_set_priority_internal (object, priority))
+#if GLIB_CHECK_VERSION(2,26,0)
g_object_notify_by_pspec (G_OBJECT (object), properties[PROP_PRIORITY]);
+#else
+ g_object_notify (G_OBJECT (object), "priority");
+#endif
}