deprecated stuff

Brian J. Tarricone bjt23 at cornell.edu
Tue Aug 30 21:08:32 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

	-brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFDFK6w6XyW6VEeAnsRAuJ7AKDL8owSKRO+uKOP8hRtfwOHE6jHogCfTMlv
3T6VSFTMZIU+HRDgOYNu4T4=
=gtUj
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list