Hi,

Am 19.10.2010 18:07, schrieb Martin Eckart:
> I've been compiling gmerlin 0.4.3 on Ubuntu Maverick and ran into some
> trouble because the updated gtk2 has some deprecations.  Here's how I
> fixed it.
>
> 1) sed -i -r 's/GTK_WIDGET_SET_FLAGS *\(([^,]*), GTK_CAN_DEFAULT
> \);/gtk_widget_set_can_default(\1, TRUE);/g' lib/gtk/*.c
> 2) sed -i -r 's/GtkNotebookPage \*page/gpointer page/g'
> lib/gtk/treewidget.c
> 3) sed -i -r 's/GTK_WIDGET_REALIZED\(([^)]*)\)/gtk_widget_get_realized
> (GTK_WIDGET (\1))/g' lib/gtk/*.c
> 4) sed -i -r 's/GTK_WIDGET_TOPLEVEL *\(([^)]*)\)/gtk_widget_is_toplevel
> (\1)/g' lib/gtk/*.c
> 5) sed -i -r 's/GTK_WIDGET_SET_FLAGS *\(([^,]*), GTK_CAN_FOCUS
> \);/gtk_widget_set_can_focus(\1, TRUE);/g' apps/visualizer/*.c
>
> Cheers,
> -martin

These are fixed in cvs already.

Burkhard

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Gmerlin-general mailing list
Gmerlin-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gmerlin-general

Reply via email to