Encoutered problem compiling GtkEditable - here's a fix.



*Had a problem compiling GtkEditable in Gtk2-1.011

I was getting a parsing error compiling the **GtkEditable code.*
*
Seems like it might be an alignment problem but did not investigate further as moving **dGPERL_CLOSURE_MARSHAL_ARGS; to after the definitions worked fine. *
*
*static void
gtk2perl_editable_insert_text_marshal (GClosure * closure,
                                      GValue * return_value,
                                      guint n_param_values,
                                      const GValue * param_values,
                                      gpointer invocation_hint,
                                      gpointer marshal_data)
{

       int len;
       gint * position_p;
       SV * string, * position;
       *dGPERL_CLOSURE_MARSHAL_ARGS;*

Thanks for everything

Stuart Hyne





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