summaryrefslogtreecommitdiff
path: root/gio/src/gio_methods.defs
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2013-07-31 10:35:38 +0200
committerMurray Cumming <murrayc@murrayc.com>2013-07-31 10:35:38 +0200
commitc337ca0b326787e8726320921c6b78af25d818fb (patch)
tree762d5336a953e9152506180808a5ff4a0d36f314 /gio/src/gio_methods.defs
parent06fee805575c0ee171ab2ce6302167d703309237 (diff)
downloadglibmm-c337ca0b326787e8726320921c6b78af25d818fb.tar.gz
Regenerate functions defs
Diffstat (limited to 'gio/src/gio_methods.defs')
-rw-r--r--gio/src/gio_methods.defs230
1 files changed, 196 insertions, 34 deletions
diff --git a/gio/src/gio_methods.defs b/gio/src/gio_methods.defs
index be03a9e3..e30a980c 100644
--- a/gio/src/gio_methods.defs
+++ b/gio/src/gio_methods.defs
@@ -1448,6 +1448,8 @@
(values
'("none" "G_DBUS_SIGNAL_FLAGS_NONE")
'("no-match-rule" "G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE")
+ '("match-arg0-namespace" "G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_NAMESPACE")
+ '("match-arg0-path" "G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH")
)
)
@@ -1878,6 +1880,34 @@
)
)
+(define-function g_action_name_is_valid
+ (c-name "g_action_name_is_valid")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "action_name")
+ )
+)
+
+(define-function g_action_parse_detailed_name
+ (c-name "g_action_parse_detailed_name")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "detailed_name")
+ '("gchar**" "action_name")
+ '("GVariant**" "target_value")
+ '("GError**" "error")
+ )
+)
+
+(define-function g_action_print_detailed_name
+ (c-name "g_action_print_detailed_name")
+ (return-type "gchar*")
+ (parameters
+ '("const-gchar*" "action_name")
+ '("GVariant*" "parameter")
+ )
+)
+
;; From gactionmap.h
@@ -2517,6 +2547,18 @@
(return-type "none")
)
+(define-method mark_busy
+ (of-object "GApplication")
+ (c-name "g_application_mark_busy")
+ (return-type "none")
+)
+
+(define-method unmark_busy
+ (of-object "GApplication")
+ (c-name "g_application_unmark_busy")
+ (return-type "none")
+)
+
;; From gapplicationimpl.h
@@ -2590,6 +2632,15 @@
(return-type "const-gchar*")
)
+(define-method set_busy_state
+ (of-object "GApplicationImpl")
+ (c-name "g_application_impl_set_busy_state")
+ (return-type "none")
+ (parameters
+ '("gboolean" "busy")
+ )
+)
+
;; From gasynchelper.h
@@ -2887,6 +2938,27 @@
+;; From gbytesicon.h
+
+(define-function g_bytes_icon_get_type
+ (c-name "g_bytes_icon_get_type")
+ (return-type "GType")
+)
+
+(define-method icon_new
+ (of-object "GBytes")
+ (c-name "g_bytes_icon_new")
+ (return-type "GIcon*")
+)
+
+(define-method get_bytes
+ (of-object "GBytesIcon")
+ (c-name "g_bytes_icon_get_bytes")
+ (return-type "GBytes*")
+)
+
+
+
;; From gcancellable.h
(define-function g_cancellable_get_type
@@ -5242,6 +5314,12 @@
(return-type "const-GDBusMethodInfo*")
)
+(define-method get_property_info
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_get_property_info")
+ (return-type "const-GDBusPropertyInfo*")
+)
+
(define-method get_connection
(of-object "GDBusMethodInvocation")
(c-name "g_dbus_method_invocation_get_connection")
@@ -6368,6 +6446,31 @@
)
)
+(define-method list_actions
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_list_actions")
+ (return-type "const-gchar*-const*")
+)
+
+(define-method launch_action
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_launch_action")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "action_name")
+ '("GAppLaunchContext*" "launch_context")
+ )
+)
+
+(define-method get_action_name
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_action_name")
+ (return-type "gchar*")
+ (parameters
+ '("const-gchar*" "action_name")
+ )
+)
+
(define-function g_desktop_app_info_lookup_get_type
(c-name "g_desktop_app_info_lookup_get_type")
(return-type "GType")
@@ -7567,6 +7670,28 @@
)
)
+(define-method trash_async
+ (of-object "GFile")
+ (c-name "g_file_trash_async")
+ (return-type "none")
+ (parameters
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method trash_finish
+ (of-object "GFile")
+ (c-name "g_file_trash_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
(define-method copy
(of-object "GFile")
(c-name "g_file_copy")
@@ -7631,6 +7756,28 @@
)
)
+(define-method make_directory_async
+ (of-object "GFile")
+ (c-name "g_file_make_directory_async")
+ (return-type "none")
+ (parameters
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method make_directory_finish
+ (of-object "GFile")
+ (c-name "g_file_make_directory_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
(define-method make_directory_with_parents
(of-object "GFile")
(c-name "g_file_make_directory_with_parents")
@@ -9128,6 +9275,20 @@
)
)
+(define-method serialize
+ (of-object "GIcon")
+ (c-name "g_icon_serialize")
+ (return-type "GVariant*")
+)
+
+(define-function g_icon_deserialize
+ (c-name "g_icon_deserialize")
+ (return-type "GIcon*")
+ (parameters
+ '("GVariant*" "value")
+ )
+)
+
;; From ginetaddress.h
@@ -10185,45 +10346,11 @@
;; From gioscheduler.h
-(define-function g_io_scheduler_push_job
- (c-name "g_io_scheduler_push_job")
- (return-type "none")
- (parameters
- '("GIOSchedulerJobFunc" "job_func")
- '("gpointer" "user_data")
- '("GDestroyNotify" "notify")
- '("gint" "io_priority")
- '("GCancellable*" "cancellable")
- )
-)
-
(define-function g_io_scheduler_cancel_all_jobs
(c-name "g_io_scheduler_cancel_all_jobs")
(return-type "none")
)
-(define-method send_to_mainloop
- (of-object "GIOSchedulerJob")
- (c-name "g_io_scheduler_job_send_to_mainloop")
- (return-type "gboolean")
- (parameters
- '("GSourceFunc" "func")
- '("gpointer" "user_data")
- '("GDestroyNotify" "notify")
- )
-)
-
-(define-method send_to_mainloop_async
- (of-object "GIOSchedulerJob")
- (c-name "g_io_scheduler_job_send_to_mainloop_async")
- (return-type "none")
- (parameters
- '("GSourceFunc" "func")
- '("gpointer" "user_data")
- '("GDestroyNotify" "notify")
- )
-)
-
;; From giostream.h
@@ -10612,6 +10739,12 @@
)
)
+(define-method remove_all
+ (of-object "GMenu")
+ (c-name "g_menu_remove_all")
+ (return-type "none")
+)
+
(define-method insert
(of-object "GMenu")
(c-name "g_menu_insert")
@@ -10865,6 +10998,15 @@
)
)
+(define-method set_icon
+ (of-object "GMenuItem")
+ (c-name "g_menu_item_set_icon")
+ (return-type "none")
+ (parameters
+ '("GIcon*" "icon")
+ )
+)
+
;; From gmenumodel.h
@@ -12092,6 +12234,26 @@
+;; From gpropertyaction.h
+
+(define-function g_property_action_get_type
+ (c-name "g_property_action_get_type")
+ (return-type "GType")
+)
+
+(define-function g_property_action_new
+ (c-name "g_property_action_new")
+ (is-constructor-of "GPropertyAction")
+ (return-type "GPropertyAction*")
+ (parameters
+ '("const-gchar*" "name")
+ '("gpointer" "object")
+ '("const-gchar*" "property_name")
+ )
+)
+
+
+
;; From gproxyaddressenumerator.h
(define-function g_proxy_address_enumerator_get_type