compiler error on win32 w/ Gtk2-1.143 (fix inside)
- From: Mario Fischer <klicker-mail gmx net>
- To: gtk-perl-list gnome org
- Subject: compiler error on win32 w/ Gtk2-1.143 (fix inside)
- Date: Fri, 02 Mar 2007 16:04:21 +0100
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
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]