X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fgtk2%2Fconsumer_gtk2.c;h=d1232b011c249b6cfafee26a95f11a44021cc31e;hb=bf3264b9e340ba5c11cbf59835a8af3db94e0cc2;hp=f563ecfb7ee020fde6d598c740cf9d834646876c;hpb=e727806e894128be3004502eee4d41537fb31c7d;p=melted diff --git a/src/modules/gtk2/consumer_gtk2.c b/src/modules/gtk2/consumer_gtk2.c index f563ecf..d1232b0 100644 --- a/src/modules/gtk2/consumer_gtk2.c +++ b/src/modules/gtk2/consumer_gtk2.c @@ -3,19 +3,19 @@ * Copyright (C) 2003-2004 Ushodaya Enterprises Limited * Author: Charles Yates * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "consumer_gtk2.h" @@ -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 );