From 37938b14a08f00b36aa575c2e9a74cf15d425ccf Mon Sep 17 00:00:00 2001 From: Gian Mario Tagliaretti Date: Sun, 12 Apr 2009 14:26:36 +0000 Subject: should accept None for cancellable and set the default flag to 2009-04-12 Gian Mario Tagliaretti * gio/gio.defs: (g_file_monitor) should accept None for cancellable and set the default flag to G_FILE_MONITOR_NONE. svn path=/trunk/; revision=1059 --- ChangeLog | 5 +++++ gio/gio.defs | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 444b3a7..30cdc0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-04-12 Gian Mario Tagliaretti + + * gio/gio.defs: (g_file_monitor) should accept None + for cancellable and set the default flag to G_FILE_MONITOR_NONE. + 2009-04-09 Jonathan Matthew Bug 575781 – pyg_notify_free needs to ensure it has GIL before calling diff --git a/gio/gio.defs b/gio/gio.defs index 5dd822d..14c44e7 100644 --- a/gio/gio.defs +++ b/gio/gio.defs @@ -2542,8 +2542,8 @@ (c-name "g_file_monitor") (return-type "GFileMonitor*") (parameters - '("GFileMonitorFlags" "flags") - '("GCancellable*" "cancellable") + '("GFileMonitorFlags" "flags" (default "G_FILE_MONITOR_NONE")) + '("GCancellable*" "cancellable" (null-ok) (default "NULL")) '("GError**" "error") ) ) -- cgit