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 641225 - libnotify binding broken in vala-0.11
libnotify binding broken in vala-0.11
Status: RESOLVED NOTABUG
Product: vala
Classification: Core
Component: Bindings
0.11.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2011-02-02 09:03 UTC by shuerhaaken
Modified: 2011-02-02 09:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description shuerhaaken 2011-02-02 09:03:39 UTC
The Notify.Notification class constructor is:
 - public Notification (string summary, string? body, string? icon);
This is not working.  

It has to be:
 - public Notification (string summary, string? body, string? icon, Gtk.Widget? attach);
as it was before in vala-0.10.
Comment 1 Jürg Billeter 2011-02-02 09:16:16 UTC
That was an incompatible upstream API change in libnotify 0.7. As upstream libnotify is not parallel installable, it is not easy to ship bindings to both versions. If you still target the older libnotify 0.5, you have to either continue to use Vala 0.10.x or copy the old libnotify.vapi into your project.
Comment 2 shuerhaaken 2011-02-02 09:22:58 UTC
ok. I see. Thanks