[vala] libnotify: Update to 0.7.6
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] libnotify: Update to 0.7.6
- Date: Thu, 12 Sep 2013 19:02:32 +0000 (UTC)
commit ae5b1a24b7ba15c7a697c73e77e372719ab9b705
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Thu Sep 12 21:01:26 2013 +0200
libnotify: Update to 0.7.6
vapi/libnotify.vapi | 7 ++++++-
vapi/packages/libnotify/libnotify.gi | 18 ++++++++++++++++--
2 files changed, 22 insertions(+), 3 deletions(-)
---
diff --git a/vapi/libnotify.vapi b/vapi/libnotify.vapi
index 94d72d7..1b49a0b 100644
--- a/vapi/libnotify.vapi
+++ b/vapi/libnotify.vapi
@@ -10,6 +10,7 @@ namespace Notify {
public void clear_hints ();
public bool close () throws GLib.Error;
public int get_closed_reason ();
+ public void set_app_name (string app_name);
public void set_category (string category);
public void set_hint (string key, GLib.Variant value);
public void set_hint_byte (string key, uchar value);
@@ -19,12 +20,14 @@ namespace Notify {
public void set_hint_string (string key, string value);
public void set_hint_uint32 (string key, uint value);
public void set_icon_from_pixbuf (Gdk.Pixbuf icon);
- public void set_image_from_pixbuf (Gdk.Pixbuf image);
+ public void set_image_from_pixbuf (Gdk.Pixbuf pixbuf);
public void set_timeout (int timeout);
public void set_urgency (Notify.Urgency urgency);
public bool show () throws GLib.Error;
public bool update (string summary, string body, string icon);
[NoAccessorMethod]
+ public string app_name { owned get; set; }
+ [NoAccessorMethod]
public string body { owned get; set construct; }
public int closed_reason { get; }
[NoAccessorMethod]
@@ -64,5 +67,7 @@ namespace Notify {
[CCode (cheader_filename = "libnotify/notify.h")]
public static bool is_initted ();
[CCode (cheader_filename = "libnotify/notify.h")]
+ public static void set_app_name (string app_name);
+ [CCode (cheader_filename = "libnotify/notify.h")]
public static void uninit ();
}
diff --git a/vapi/packages/libnotify/libnotify.gi b/vapi/packages/libnotify/libnotify.gi
index e1c1bea..383f76d 100644
--- a/vapi/packages/libnotify/libnotify.gi
+++ b/vapi/packages/libnotify/libnotify.gi
@@ -25,6 +25,12 @@
<function name="is_initted" symbol="notify_is_initted">
<return-type type="gboolean"/>
</function>
+ <function name="set_app_name" symbol="notify_set_app_name">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="app_name" type="char*"/>
+ </parameters>
+ </function>
<function name="uninit" symbol="notify_uninit">
<return-type type="void"/>
</function>
@@ -86,6 +92,13 @@
<parameter name="icon" type="char*"/>
</parameters>
</constructor>
+ <method name="set_app_name" symbol="notify_notification_set_app_name">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="notification" type="NotifyNotification*"/>
+ <parameter name="app_name" type="char*"/>
+ </parameters>
+ </method>
<method name="set_category" symbol="notify_notification_set_category">
<return-type type="void"/>
<parameters>
@@ -161,7 +174,7 @@
<return-type type="void"/>
<parameters>
<parameter name="notification" type="NotifyNotification*"/>
- <parameter name="image" type="GdkPixbuf*"/>
+ <parameter name="pixbuf" type="GdkPixbuf*"/>
</parameters>
</method>
<method name="set_timeout" symbol="notify_notification_set_timeout">
@@ -194,6 +207,7 @@
<parameter name="icon" type="char*"/>
</parameters>
</method>
+ <property name="app-name" type="char*" readable="1" writable="1" construct="0"
construct-only="0"/>
<property name="body" type="char*" readable="1" writable="1" construct="1"
construct-only="0"/>
<property name="closed-reason" type="gint" readable="1" writable="0" construct="0"
construct-only="0"/>
<property name="icon-name" type="char*" readable="1" writable="1" construct="1"
construct-only="0"/>
@@ -209,7 +223,7 @@
<constant name="NOTIFY_EXPIRES_DEFAULT" type="int" value="-1"/>
<constant name="NOTIFY_EXPIRES_NEVER" type="int" value="0"/>
<constant name="NOTIFY_VERSION_MAJOR" type="int" value="0"/>
- <constant name="NOTIFY_VERSION_MICRO" type="int" value="0"/>
+ <constant name="NOTIFY_VERSION_MICRO" type="int" value="6"/>
<constant name="NOTIFY_VERSION_MINOR" type="int" value="7"/>
</namespace>
</api>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]