GESTrackObject: fixe the connect_properties_signals

This commit is contained in:
Thibault Saunier 2011-02-25 10:54:55 +01:00 committed by Edward Hervey
parent 3179cb7c53
commit b0f877a47c

View file

@ -522,8 +522,9 @@ connect_signal (gpointer key, gpointer value, gpointer user_data)
static void static void
connect_properties_signals (GESTrackObject * object) connect_properties_signals (GESTrackObject * object)
{ {
if (G_UNLIKELY (object->priv->properties_hashtable)) { if (G_UNLIKELY (!object->priv->properties_hashtable)) {
GST_WARNING ("The properties_hashtable hasn't been set"); GST_WARNING ("The properties_hashtable hasn't been set");
return;
} }
g_hash_table_foreach (object->priv->properties_hashtable, g_hash_table_foreach (object->priv->properties_hashtable,