After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 612720 - Does not compile with -DGSEAL_ENABLE
Does not compile with -DGSEAL_ENABLE
Status: RESOLVED FIXED
Product: libnotify
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: William Jon McCann
Depends on:
Blocks: 585391
 
 
Reported: 2010-03-12 17:13 UTC by André Klapper
Modified: 2010-04-10 23:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30



Description André Klapper 2010-03-12 17:13:32 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
Comment 1 William Jon McCann 2010-04-03 00:11:17 UTC
Fixed in master.
Comment 2 Javier Jardón (IRC: jjardon) 2010-04-03 17:54:18 UTC
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
Comment 3 André Klapper 2010-04-10 23:42:25 UTC
(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