]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libnotify: Update to 0.7.6
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 12 Sep 2013 19:01:26 +0000 (21:01 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 12 Sep 2013 19:01:26 +0000 (21:01 +0200)
vapi/libnotify.vapi
vapi/packages/libnotify/libnotify.gi

index 94d72d74ba0e998b54041f1a33b0d3f7b1b3e2b2..1b49a0be8eb0c8ceecadaccc0d18e42f34862977 100644 (file)
@@ -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 ();
 }
index e1c1bea95a11fcddf3cf1537614d8d7887affa6d..383f76d24bb4c8ac4715410cc2e591042c315a4b 100644 (file)
                <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>
                                        <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>
                                <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">
                                        <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"/>
                <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>