Big modification - switch to macros for parent class access
[melted] / src / modules / gtk2 / consumer_gtk2.c
index f563ecf..b8689a3 100644 (file)
@@ -46,7 +46,7 @@ mlt_consumer consumer_gtk2_preview_init( GtkWidget *widget )
        // Now assign the lock/unlock callbacks
        if ( consumer != NULL )
        {
-               mlt_properties properties = mlt_consumer_properties( consumer );
+               mlt_properties properties = MLT_CONSUMER_PROPERTIES( consumer );
                mlt_properties_set_int( properties, "app_locked", 1 );
                mlt_properties_set_data( properties, "app_lock", gdk_threads_enter, 0, NULL, NULL );
                mlt_properties_set_data( properties, "app_unlock", gdk_threads_leave, 0, NULL, NULL );