parse error in gnome-entry.h
- From: Martijn Brouwer <e a m brouwer tnw utwente nl>
- To: Garnome <garnome-list gnome org>
- Subject: parse error in gnome-entry.h
- Date: Wed, 30 Jun 2004 21:39:59 +0200
Hi,
When I try to build gnome-spell compilation aborts with the error show
below.
I paste the relevant part of gnome-entry.h below the error message. To
me, it seems perfectly sane, but I am no C programmer. I found the
problem in some places on the net, but I didn't come across any solutions :(
This error surprises me, since I compiled the entire desktop without
seeing this one.
Bye,
Martijn Brouwer
In file included from control.c:37:
/usr/local/garnome/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:63:
error: parse error before "GtkCombo"
/usr/local/garnome/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:63:
warning: no semicolon at end of struct or union
/usr/local/garnome/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:67:
error: parse error before '}' token
/usr/local/garnome/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:70:
error: parse error before "GtkComboClass"
/usr/local/garnome/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:70:
warning: no semicolon at end of struct or union
/usr/local/garnome/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:78:
error: parse error before '}' token
/* This also supports the GtkEditable interface so
* to get text use the gtk_editable_get_chars method
* on this object */
typedef struct _GnomeEntry GnomeEntry;
typedef struct _GnomeEntryPrivate GnomeEntryPrivate;
typedef struct _GnomeEntryClass GnomeEntryClass;
struct _GnomeEntry {
GtkCombo combo;
/*< private >*/
GnomeEntryPrivate *_priv;
};
struct _GnomeEntryClass {
GtkComboClass parent_class;
/* Like the GtkEntry signals */
void (* activate) (GnomeEntry *entry);
gpointer reserved1, reserved2; /* Reserved for future use,
we'll need to proxy insert_text
and delete_text signals */
};
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]