summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGian Mario Tagliaretti <gianmt@gnome.org>2009-03-08 22:07:49 +0000
committerGian Mario Tagliaretti <gianmt@src.gnome.org>2009-03-08 22:07:49 +0000
commit4f358fdb583dcf9cfb25df54b8470c9ecfa872ba (patch)
treee3a7f2a1200d0cd31467ba30beec197f787651b8
parentab12641fa9c471d285a709d73d4800af613dd0db (diff)
downloadpygobject-4f358fdb583dcf9cfb25df54b8470c9ecfa872ba.tar.gz
add g_cancellable_make_pollfd
2009-03-08 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/gio.defs: add g_cancellable_make_pollfd svn path=/trunk/; revision=1022
-rw-r--r--ChangeLog4
-rw-r--r--gio/gio.defs9
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f370f5cd..32a47661 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2009-03-08 Gian Mario Tagliaretti <gianmt@gnome.org>
+ * gio/gio.defs: add g_cancellable_make_pollfd
+
+2009-03-08 Gian Mario Tagliaretti <gianmt@gnome.org>
+
* docs/Makefile.am:
* docs/reference/pyglib-classes.xml
* docs/reference/pygobject-ref.xml
diff --git a/gio/gio.defs b/gio/gio.defs
index ed163c23..9aa2ad95 100644
--- a/gio/gio.defs
+++ b/gio/gio.defs
@@ -498,6 +498,15 @@
(return-type "int")
)
+(define-method make_pollfd
+ (of-object "GCancellable")
+ (c-name "g_cancellable_make_pollfd")
+ (return-type "none")
+ (parameters
+ '("GPollFD*" "pollfd")
+ )
+)
+
(define-function cancellable_get_current
(c-name "g_cancellable_get_current")
(return-type "GCancellable*")