Re: gnome-objc 0.99.8 and GTK 1.2.0 (fwd)
- From: Mario Vukelic <octopus inode at>
- To: James Charles Lewis <lewis1 expert cc purdue edu>
- CC: gnome-list gnome org
- Subject: Re: gnome-objc 0.99.8 and GTK 1.2.0 (fwd)
- Date: Mon, 01 Mar 1999 15:26:35 +0100
James Charles Lewis wrote:
>
> Do gnome-objc 0.99.8 and GTK 1.2.0 work together?
>
> When trying to complie gnome-objc, it quits with the following error:
>
> obgtkEditable.m: In function `_i_Gtk_Editable__cut_clipboard_':
> obgtkEditable.m:58: too many arguments to function `gtk_editable_cut_clipboard'
> obgtkEditable.m: In function `_i_Gtk_Editable__copy_clipboard_':
> obgtkEditable.m:64: too many arguments to function `gtk_editable_copy_clipboard'
> obgtkEditable.m: In function `_i_Gtk_Editable__paste_clipboard_':
> obgtkEditable.m:70: too many arguments to function `gtk_editable_paste_clipboard'
>
> So far I have ORBit 0.4.0, GTK/GLIB 1.2.0, automake 1.4, autoconf 2.13,
> and libtool 1.2d installed.
This comes from gnome-objc not knowing about gtk-1.2: it calls the
functions with one argument only when (GTK_MAJOR_NUMBER == 1 &&
GTK_MINOR_NUMBER == 1). This is in some ifdef, IIRC.
I changed it to (GTK_MAJOR_NUMBER == 1 && ((GTK_MINOR_NUMBER == 1) ||
(GTK_MINOR_NUMBER == 2)).
Then it was ok
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]