[Mplayerplug-in-cvs] mplayerplug-in/Source plugin-ui.cpp, 1.246, 1.247 plugin.cpp, 1.334, 1.335
Brought to you by:
kdekorte
From: Kevin D. <kde...@us...> - 2007-03-21 13:36:05
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/Source In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv25628/Source Modified Files: plugin-ui.cpp plugin.cpp Log Message: Fix gtk1 compile issue Index: plugin-ui.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-ui.cpp,v retrieving revision 1.246 retrieving revision 1.247 diff -C2 -d -r1.246 -r1.247 *** plugin-ui.cpp 20 Feb 2007 23:13:46 -0000 1.246 --- plugin-ui.cpp 21 Mar 2007 13:35:56 -0000 1.247 *************** *** 1033,1038 **** gint width; gint height; ! gdk_drawable_get_size(GDK_DRAWABLE(widget->window),&width,&height); percent = event->x / width; --- 1033,1043 ---- gint width; gint height; ! ! #ifdef GTK2_ENABLED gdk_drawable_get_size(GDK_DRAWABLE(widget->window),&width,&height); + #endif + #ifdef GTK1_ENABLED + gdk_window_get_size(widget->window,&width,&height); + #endif percent = event->x / width; Index: plugin.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin.cpp,v retrieving revision 1.334 retrieving revision 1.335 diff -C2 -d -r1.334 -r1.335 *** plugin.cpp 11 Feb 2007 21:41:12 -0000 1.334 --- plugin.cpp 21 Mar 2007 13:35:56 -0000 1.335 *************** *** 606,609 **** --- 606,610 ---- free(tv_input); tv_input = NULL; + } *************** *** 624,627 **** --- 625,629 ---- free(qtNext[i]); qtNext[i] = NULL; + } |