Giuly
09-11-2005, 14:45
GtkStatusIcon* YellowIcon=gtk_status_icon_new_from_pixbuf(YI);
main.c:106: error: `GtkStatusIcon' undeclared (first use in this function)
main.c:106: error: (Each undeclared identifier is reported only once
main.c:106: error: for each function it appears in.)
Sollte laut API-Referenz (http://developer.gnome.org/doc/API/2.0/gtk/gtk-GtkStatusIcon.html) richtig sein. und wenn ich GtkWidget* statt GtkStatusIcon* verwende, bekomme ich ein
main.c:106: warning: initialization makes pointer from integer without a cast
Das muss doch irgendwie Funktionieren, oder nicht?
MfG
GtkStatusIcon is new api that is not in any stable gtk release yet. It
will appear in gtk 2.10.
Matthias...
main.c:106: error: `GtkStatusIcon' undeclared (first use in this function)
main.c:106: error: (Each undeclared identifier is reported only once
main.c:106: error: for each function it appears in.)
Sollte laut API-Referenz (http://developer.gnome.org/doc/API/2.0/gtk/gtk-GtkStatusIcon.html) richtig sein. und wenn ich GtkWidget* statt GtkStatusIcon* verwende, bekomme ich ein
main.c:106: warning: initialization makes pointer from integer without a cast
Das muss doch irgendwie Funktionieren, oder nicht?
MfG
GtkStatusIcon is new api that is not in any stable gtk release yet. It
will appear in gtk 2.10.
Matthias...