On Fri, Jun 04, 2010 at 06:42:43PM +0530, Rajendra Prasad Murakonda wrote:
> Due to run flash on webkit I need to call gtk_init from my application once
> due to some bug in gtk. I made a sample program in gtk and compiled it
> successfully. But when I try to compile it with my application following the
> same procedure, I get the following error.
> 
> ==
> n file included from /usr/include/gtk-2.0/gtk/gtk.
> h:44, from src/main.cpp:3:
> /usr/include/gtk-2.0/gtk/gtkbindings.h:76: error: expected unqualified-id
> before "protected"
> /usr/include/gtk-2.0/gtk/gtkbindings.h:76: error: abstract declarator
> `GtkBindingSignal*' used as declaration
> /usr/include/gtk-2.0/gtk/gtkbindings.h:76: error: expected `;' before
> "protected"
> ==
> 
> Any idea what went wrong. Any help is much appreciated.

First, you should have said you compile it as C++.  Second, it is not
clear what you do: there is no `protected' in gtkbindings.h (at least
not in the current version); most likely some identifier that occurs in
gtkbindings.h was #defined to something weird in another header.  But
only you can find out what, why and where in the other headers you
include.

Yeti

_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to