GNOME Bugzilla – Bug 612720
Does not compile with -DGSEAL_ENABLE
Last modified: 2010-04-10 23:42:25 UTC
libnotify 0.4.5 does not build with -DGSEAL_ENABLE. See http://live.gnome.org/GnomeGoals/UseGseal . Note that maybe this report cannot be fixed yet, as GTK+ still misses some accessor functions (see bug 588339, bug 597610) needed for sealing. Also see http://live.gnome.org/GTK%2B/3.0/PendingSealings for current status. The jhbuild output posted here of course only lists the very first error when trying to compile. notification.c: In function ‘get_internal_tray_icon’: notification.c:423: error: ‘GtkStatusIcon’ has no member named ‘priv’ notification.c: In function ‘_notify_notification_update_applet_hints’: notification.c:442: error: ‘GtkWidget’ has no member named ‘window’ notification.c:467: error: ‘GtkWidget’ has no member named ‘window’ notification.c:469: error: ‘GtkObject’ has no member named ‘flags’ notification.c:471: error: ‘GtkWidget’ has no member named ‘allocation’ notification.c:472: error: ‘GtkWidget’ has no member named ‘allocation’ notification.c:475: error: ‘GtkWidget’ has no member named ‘allocation’ notification.c:476: error: ‘GtkWidget’ has no member named ‘allocation’ make[3]: *** [notification.lo] Error 1 make[3]: Leaving directory `/home/andre/svn-gnome/libnotify-0.4.5/libnotify' make[2]: *** [all] Error 2
Fixed in master.
I think you should update the GTK+ required version to 2.18 in the configure.ac file gtk_widget_get_allocation() and gtk_widget_get_has_window() were introduced in 2.18
(In reply to comment #2) > I think you should update the GTK+ required version to 2.18 True. Just done that: http://git.gnome.org/browse/libnotify/commit/?id=180b2a9244b901adf17d5aca4268b0a9a7f5fd2b