summaryrefslogtreecommitdiffstats
path: root/gio/unix.defs
diff options
context:
space:
mode:
authorGian Mario Tagliaretti <gianmt@src.gnome.org>2009-02-10 22:27:13 +0000
committerGian Mario Tagliaretti <gianmt@src.gnome.org>2009-02-10 22:27:13 +0000
commitd144d8dc0f521389e7647b833fada9e742273ffc (patch)
treebdca0d9d38b9168a0db912d5b284c0858a1370ab /gio/unix.defs
parent8392f3d238484832a5d73a4602aad31f83a08f62 (diff)
downloadpygobject-d144d8dc0f521389e7647b833fada9e742273ffc.tar.gz
pygobject-d144d8dc0f521389e7647b833fada9e742273ffc.tar.xz
pygobject-d144d8dc0f521389e7647b833fada9e742273ffc.zip
Add 2.18 gio API.
svn path=/trunk/; revision=1003
Diffstat (limited to 'gio/unix.defs')
-rw-r--r--gio/unix.defs17
1 files changed, 17 insertions, 0 deletions
diff --git a/gio/unix.defs b/gio/unix.defs
index 2d28841..2c0891c 100644
--- a/gio/unix.defs
+++ b/gio/unix.defs
@@ -17,6 +17,14 @@
)
)
+(define-function g_desktop_app_info_new_from_keyfile
+ (c-name "g_desktop_app_info_new_from_keyfile")
+ (return-type "GDesktopAppInfo*")
+ (parameters
+ '("GKeyFile*" "key_file")
+ )
+)
+
(define-function desktop_app_info_new
(c-name "g_desktop_app_info_new")
(is-constructor-of "GDesktopAppInfo")
@@ -256,6 +264,15 @@
(return-type "GUnixMountMonitor*")
)
+(define-method set_rate_limit
+ (of-object "GUnixMountMonitor")
+ (c-name "g_unix_mount_monitor_set_rate_limit")
+ (return-type "none")
+ (parameters
+ '("int" "limit_msec")
+ )
+)
+
(define-function unix_is_mount_path_system_internal
(c-name "g_unix_is_mount_path_system_internal")
(return-type "gboolean")