deprecated stuff

Jeff Franks jcfranks at tpg.com.au
Wed Aug 31 08:52:41 CEST 2005


Brian J. Tarricone wrote:

>Hi all,
>
>For starters, I deprecated XfceFileChooser and XfceColorButton in
>libxfcegui4.  Apps that use them, and have --enable-debug=full, will
>fail to compile.  Use GtkFileChooser and GtkColorButton directly.  Since
>the APIs are identical, this should update your source files:
>
>sed -i -e 's/XfceFileChooser/GtkFileChooser/g; \
>           s/XFCE_FILE_CHOOSER/GTK_FILE_CHOOSER/g; \
>           s/xfce_file_chooser/gtk_file_chooser/g; \
>           s/XfceFileFilter/GtkFileFilter/g; \
>           s/XFCE_FILE_FILTER/XFCE_FILE_FILTER/g; \
>           s/XfceColorButton/GtkColorButton/g; \
>           s/XFCE_COLOR_BUTTON/GTK_COLOR_BUTTON/g; \
>           s/xfce_color_button/gtk_color_button/g;' foo.c
>
>Back up your file first, of course ^_~.
>
>I'm planning on deprecating XfceIconTheme as well, in favor of
>GtkIconTheme.  After that, I'm going to update and extend the
>xfce_themed_icon_*() wrappers in libxfcegui4/icons.[ch] to provide some
>more functionality and fix some of GtkIconTheme's shortcomings.  Please
>don't use GtkIconTheme directly; I'd like the icon theming to be
>consistent across applications.
>
>  
>
I also noticed that no SVN modules use XfceMenubutton anymore... should 
this also be deprecated.

Jeff.



More information about the Xfce4-dev mailing list