[Glade-users] GnomeFontPicker callback...



"James K. Wiggs" wrote:

 Folks,

   I'm using Glade 0.5.9, and I've built a GnomePropertyBox
which includes several GnomeFontPicker widgets.  Unfortunately,
the generated code for the font_set callback causes parse errors.

   Here is the generated callback prototype:

void
actslx_ChartProperties_font_set    (GnomeFontPicker *gnomefontpicker,
                                    GtkString        arg1,
                                    gpointer         user_data);

   Which causes a parse error when it gets to GtkString.  I've gone
through and checked and double-checked the library codes, and there
does not appear to *be* a GtkString type defined *anywhere*.  What
should be getting passed as the 2nd parameter in this callback?

It should be a 'char*', and is the name of the font selected.

(A few of the GTK+ builtin type names seem to have been changed a while back,
which messed up Glade's output of a few signal prototypes. But I think I've
fixed it now.)

Thanks for the report.

Damon







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]