Isn't the XfceColorButton typdef and type macro wrong

Brian J. Tarricone bjt23 at cornell.edu
Sat Sep 3 13:57:45 CEST 2005


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

Jeff Franks wrote:
> Brain,
> 
> Aren't the XfceColorButton typdef and 'get_type' macro wrong. Shouldn't
> 
> #define XFCE_TYPE_COLOR_BUTTON  (gtk_button_get_type())
> typedef GtkButton XfceColorButton;
> typedef GtkButtonClass XfceColorButtonClass;
> 
> actually be:
> 
> #define XFCE_TYPE_COLOR_BUTTON  (gtk_color_button_get_type())
> typedef GtkColorButton XfceColorButton;
> typedef GtkColorButtonClass XfceColorButtonClass;

Nope.  The whole point of XfceColorButton was to work with gtk 2.2,
which doesn't have GtkColorButton.  I also didn't want to force
recompiles if people change their gtk version from underneath
libxfcegui4.  It's kinda ugly, yes, because it makes XfceColorButton not
a real widget.  At any rate, it's deprecated and you don't need to bind it.

	-brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDGY+56XyW6VEeAnsRAtgSAKDqekXU1kTNXsk0SbSu7itdpIjsmwCfbSP6
W3b7Kl2VCMCwplKftTCWhF8=
=Z5TN
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list