http://bugzilla.novell.com/show_bug.cgi?id=626455
http://bugzilla.novell.com/show_bug.cgi?id=626455#c7
--- Comment #7 from Vincent Untz
Are you sure this is ok????
It's the best solution, yes.
*libnotify* is adding a dependency against <includedir>/gtk/gtk.h (both GTK+2 and GTK+3 have it?) and that header must provide definitions for GtkWidget and GtkStatusIcon (both GTK+2 and GTK+3?).
Both GTK+ 2 and GTK+ 3 have it. It's up to the user of libnotify to decide which version of GTK+ to use.
Even if both versions of Gtk provide the header and the correct definitions, *libnotify* is the one adding that dependency. Is libnotify supposed to be used only by software that uses Gtk?
Yes.
Would not be better to modify that header, removing the "#include
" line and adding the types declarations?
This could be discussed upstream, but I think that'd be wrong in the end. The thing is that it's really up to the user of libnotify to decide which version of GTK+ to use when building, and libnotify doesn't want to force its users towards one specific version. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.