summaryrefslogtreecommitdiff
path: root/vapi/libnotify.vapi
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2009-01-14 22:44:41 +0000
committerJürg Billeter <juergbi@src.gnome.org>2009-01-14 22:44:41 +0000
commitd18e5da27d158c88d68a4b2518dc3463f2a1c3a8 (patch)
tree3d393b3ac1889e472abd0fba7d49064373b300d0 /vapi/libnotify.vapi
parent702133557cf58a343c775ac5ca5e91135462dc7f (diff)
downloadvala-d18e5da27d158c88d68a4b2518dc3463f2a1c3a8.tar.gz
Improve output for owned property getters
2009-01-14 Jürg Billeter <j@bitron.ch> * vala/valacodewriter.vala: Improve output for owned property getters * vapigen/valagidlparser.vala: Getters of properties without accessor have to return owned value * vapi/: regenerated svn path=/trunk/; revision=2340
Diffstat (limited to 'vapi/libnotify.vapi')
-rw-r--r--vapi/libnotify.vapi20
1 files changed, 10 insertions, 10 deletions
diff --git a/vapi/libnotify.vapi b/vapi/libnotify.vapi
index 6e567f49d..c2dcc081b 100644
--- a/vapi/libnotify.vapi
+++ b/vapi/libnotify.vapi
@@ -1,10 +1,10 @@
-/* libnotify.vapi generated by lt-vapigen, do not modify. */
+/* libnotify.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Notify", lower_case_cprefix = "notify_")]
namespace Notify {
[CCode (cheader_filename = "libnotify/notify.h")]
public class Notification : GLib.Object {
- public void add_action (string action, string label, Notify.ActionCallback# callback);
+ public void add_action (string action, string label, owned Notify.ActionCallback callback);
public void attach_to_status_icon (Gtk.StatusIcon status_icon);
public void attach_to_widget (Gtk.Widget attach);
public void clear_actions ();
@@ -27,15 +27,15 @@ namespace Notify {
[CCode (has_construct_function = false)]
public Notification.with_status_icon (string summary, string body, string icon, Gtk.StatusIcon status_icon);
[NoAccessorMethod]
- public Gtk.Widget attach_widget { get; set construct; }
+ public Gtk.Widget attach_widget { owned get; set construct; }
[NoAccessorMethod]
- public string body { get; set construct; }
+ public string body { owned get; set construct; }
[NoAccessorMethod]
- public string icon_name { get; set construct; }
+ public string icon_name { owned get; set construct; }
[NoAccessorMethod]
- public Gtk.StatusIcon status_icon { get; set construct; }
+ public Gtk.StatusIcon status_icon { owned get; set construct; }
[NoAccessorMethod]
- public string summary { get; set construct; }
+ public string summary { owned get; set construct; }
public virtual signal void closed ();
}
[CCode (cprefix = "NOTIFY_URGENCY_", has_type_id = "0", cheader_filename = "libnotify/notify.h")]
@@ -51,11 +51,11 @@ namespace Notify {
[CCode (cheader_filename = "libnotify/notify.h")]
public const int EXPIRES_NEVER;
[CCode (cheader_filename = "libnotify/notify.h")]
- public static weak string get_app_name ();
+ public static unowned string get_app_name ();
[CCode (cheader_filename = "libnotify/notify.h")]
- public static weak GLib.List get_server_caps ();
+ public static unowned GLib.List get_server_caps ();
[CCode (cheader_filename = "libnotify/notify.h")]
- public static bool get_server_info (out weak string ret_name, out weak string ret_vendor, out weak string ret_version, out weak string ret_spec_version);
+ public static bool get_server_info (out unowned string ret_name, out unowned string ret_vendor, out unowned string ret_version, out unowned string ret_spec_version);
[CCode (cheader_filename = "libnotify/notify.h")]
public static bool init (string app_name);
[CCode (cheader_filename = "libnotify/notify.h")]