Re: Gedit not compiling
- From: Mario Vukelic <octopus inode at>
- To: John Huttley <john mwk co nz>
- CC: "gnome-list gnome org" <gnome-list gnome org>
- Subject: Re: Gedit not compiling
- Date: Mon, 01 Mar 1999 15:04:27 +0100
John Huttley wrote:
>
> Whoa! gcc fails with
> gtk_editable_cut_clipboard too many arguments.
>
> This is with a completely new gnome, freshly CVS'd.
Do you compile against gtk 1.2?
If so, this comes from gedit thinking that gtk is either 1.0 or 1.1.
In the files gcc mentions, you'll find a line like (from my memory)
-------
ifdef (GTK_MAJOR_NUMBER == 1 && GTK_MINOR_NUMBER == 1)
// Function calls with 1 argument
else
// call with two arguments
-------
Ich simply changed to
ifdef (GTK_MAJOR_NUMBER == 1 && ( (GTK_MINOR_NUMBER == 1) ||
(GTK_MINOR_NUMBER == 2 ))
This did the trick. Same with gnome-objc, BTW
Greetings
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]