summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGian Mario Tagliaretti <gianmt@src.gnome.org>2008-08-10 08:00:39 +0000
committerGian Mario Tagliaretti <gianmt@src.gnome.org>2008-08-10 08:00:39 +0000
commitd182d680ad3ae19761e5d066793436239bd77436 (patch)
treec81b3bc1a8e5217064c498ac7a16c0df0065059c
parentfa274210cccf8db816a24f1d55195fa79c9a2ad4 (diff)
downloadpygobject-d182d680ad3ae19761e5d066793436239bd77436.tar.gz
pygobject-d182d680ad3ae19761e5d066793436239bd77436.tar.xz
pygobject-d182d680ad3ae19761e5d066793436239bd77436.zip
Add GFile.query_default_handler which was missing from the defs.
svn path=/trunk/; revision=936
-rw-r--r--ChangeLog5
-rw-r--r--gio/gio.defs10
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9a75556..3d3c5aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-10 Gian Mario Tagliaretti <gianmt@gnome.org>
+
+ * gio/gio.defs:
+ Add GFile.query_default_handler which was missing from the defs.
+
2008-08-10 Jonathan Matthew <jonathan@d14n.org>
Bug 547067 – add File.replace_contents, replace_contents_async,
diff --git a/gio/gio.defs b/gio/gio.defs
index 56da6fb..1891d04 100644
--- a/gio/gio.defs
+++ b/gio/gio.defs
@@ -2172,6 +2172,16 @@
)
)
+(define-method query_default_handler
+ (of-object "GFile")
+ (c-name "g_file_query_default_handler")
+ (return-type "GAppInfo*")
+ (parameters
+ '("GCancellable*" "cancellable" (null-ok) (default "NULL"))
+ '("GError**" "error")
+ )
+)
+
(define-method load_contents
(docstring
"F.load_contents([cancellable]) -> contents, length, etag_out\n\n"