Hi again!

While trying to compile the new Gtk2 version I got an error concerning 
GtkTextBufferRichText.xs.

To fix it find:

################################################

static gboolean
gtk2perl_text_buffer_deserialize_func (GtkTextBuffer     *register_buffer,
                                        GtkTextBuffer     *content_buffer,
                                        GtkTextIter       *iter,
                                        const guint8      *data,
                                        gsize              length,
                                        gboolean           create_tags,
                                        gpointer           user_data,
                                        GError           **error)
{
         dGPERL_CALLBACK_MARSHAL_SP;
         GPerlCallback *callback = (GPerlCallback*) user_data;
         gboolean retval = TRUE;

################################################

And replace it with:

################################################

static gboolean
gtk2perl_text_buffer_deserialize_func (GtkTextBuffer     *register_buffer,
                                        GtkTextBuffer     *content_buffer,
                                        GtkTextIter       *iter,
                                        const guint8      *data,
                                        gsize              length,
                                        gboolean           create_tags,
                                        gpointer           user_data,
                                        GError           **error)
{
         dGPERL_CALLBACK_MARSHAL_SP;
         GPerlCallback *callback = (GPerlCallback*) user_data;
         gboolean retval = TRUE;

################################################

That it all. Compiling process completes fine after this change.

Greetings,
Mario
_______________________________________________
gtk-perl-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to