[glibmm] Regenerate *_methods.defs.



commit 0c0dec4af17105becc9b55e4bb682c8574247447
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Aug 22 14:45:42 2014 +0200

    Regenerate *_methods.defs.

 gio/src/gio_methods.defs        |   74 +++++++++++++++++++++++++++++++++++++--
 glib/src/glib_functions.defs    |   23 ++++++++++++
 glib/src/gobject_functions.defs |   26 ++++++++++---
 3 files changed, 114 insertions(+), 9 deletions(-)
---
diff --git a/gio/src/gio_methods.defs b/gio/src/gio_methods.defs
index 1e49509..fdc41e9 100644
--- a/gio/src/gio_methods.defs
+++ b/gio/src/gio_methods.defs
@@ -1350,6 +1350,10 @@
     '("selinux-security-context-unknown" "G_DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN")
     '("adt-audit-data-unknown" "G_DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN")
     '("object-path-in-use" "G_DBUS_ERROR_OBJECT_PATH_IN_USE")
+    '("unknown-object" "G_DBUS_ERROR_UNKNOWN_OBJECT")
+    '("unknown-interface" "G_DBUS_ERROR_UNKNOWN_INTERFACE")
+    '("unknown-property" "G_DBUS_ERROR_UNKNOWN_PROPERTY")
+    '("property-read-only" "G_DBUS_ERROR_PROPERTY_READ_ONLY")
   )
 )
 
@@ -1491,6 +1495,7 @@
     '("invalid" "G_CREDENTIALS_TYPE_INVALID")
     '("linux-ucred" "G_CREDENTIALS_TYPE_LINUX_UCRED")
     '("freebsd-cmsgcred" "G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED")
+    '("netbsd-unpcbid" "G_CREDENTIALS_TYPE_NETBSD_UNPCBID")
     '("openbsd-sockpeercred" "G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED")
     '("solaris-ucred" "G_CREDENTIALS_TYPE_SOLARIS_UCRED")
   )
@@ -1686,6 +1691,18 @@
   )
 )
 
+(define-enum Priority
+  (in-module "GNotification")
+  (c-name "GNotificationPriority")
+  (gtype-id "G_TYPE_NOTIFICATION_PRIORITY")
+  (values
+    '("normal" "G_NOTIFICATION_PRIORITY_NORMAL")
+    '("low" "G_NOTIFICATION_PRIORITY_LOW")
+    '("high" "G_NOTIFICATION_PRIORITY_HIGH")
+    '("urgent" "G_NOTIFICATION_PRIORITY_URGENT")
+  )
+)
+
 (define-flags BindFlags
   (in-module "GSettings")
   (c-name "GSettingsBindFlags")
@@ -2532,6 +2549,21 @@
   )
 )
 
+(define-method get_resource_base_path
+  (of-object "GApplication")
+  (c-name "g_application_get_resource_base_path")
+  (return-type "const-gchar*")
+)
+
+(define-method set_resource_base_path
+  (of-object "GApplication")
+  (c-name "g_application_set_resource_base_path")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "resource_base_path")
+  )
+)
+
 (define-method set_action_group
   (of-object "GApplication")
   (c-name "g_application_set_action_group")
@@ -2550,6 +2582,20 @@
   )
 )
 
+(define-method add_main_option
+  (of-object "GApplication")
+  (c-name "g_application_add_main_option")
+  (return-type "none")
+  (parameters
+    '("const-char*" "long_name")
+    '("char" "short_name")
+    '("gint" "flags")
+    '("GOptionArg" "arg")
+    '("const-char*" "description")
+    '("const-char*" "arg_description")
+  )
+)
+
 (define-method add_option_group
   (of-object "GApplication")
   (c-name "g_application_add_option_group")
@@ -6622,6 +6668,14 @@
   )
 )
 
+(define-function g_desktop_app_info_get_implementations
+  (c-name "g_desktop_app_info_get_implementations")
+  (return-type "GList*")
+  (parameters
+    '("const-gchar*" "interface")
+  )
+)
+
 
 
 ;; From gdrive.h
@@ -10334,6 +10388,11 @@
   (return-type "GType")
 )
 
+(define-function g_notification_priority_get_type
+  (c-name "g_notification_priority_get_type")
+  (return-type "GType")
+)
+
 (define-function g_settings_bind_flags_get_type
   (c-name "g_settings_bind_flags_get_type")
   (return-type "GType")
@@ -12142,6 +12201,15 @@
   )
 )
 
+(define-method set_priority
+  (of-object "GNotification")
+  (c-name "g_notification_set_priority")
+  (return-type "none")
+  (parameters
+    '("GNotificationPriority" "priority")
+  )
+)
+
 (define-method add_button
   (of-object "GNotification")
   (c-name "g_notification_add_button")
@@ -12233,10 +12301,10 @@
   (return-type "GIcon*")
 )
 
-(define-method get_urgent
+(define-method get_priority
   (of-object "GNotification")
-  (c-name "g_notification_get_urgent")
-  (return-type "gboolean")
+  (c-name "g_notification_get_priority")
+  (return-type "GNotificationPriority")
 )
 
 (define-method get_n_buttons
diff --git a/glib/src/glib_functions.defs b/glib/src/glib_functions.defs
index c138190..def4e3a 100644
--- a/glib/src/glib_functions.defs
+++ b/glib/src/glib_functions.defs
@@ -894,6 +894,29 @@
     '("sharada" "G_UNICODE_SCRIPT_SHARADA")
     '("sora-sompeng" "G_UNICODE_SCRIPT_SORA_SOMPENG")
     '("takri" "G_UNICODE_SCRIPT_TAKRI")
+    '("bassa-vah" "G_UNICODE_SCRIPT_BASSA_VAH")
+    '("caucasian-albanian" "G_UNICODE_SCRIPT_CAUCASIAN_ALBANIAN")
+    '("duployan" "G_UNICODE_SCRIPT_DUPLOYAN")
+    '("elbasan" "G_UNICODE_SCRIPT_ELBASAN")
+    '("grantha" "G_UNICODE_SCRIPT_GRANTHA")
+    '("khojki" "G_UNICODE_SCRIPT_KHOJKI")
+    '("khudawadi" "G_UNICODE_SCRIPT_KHUDAWADI")
+    '("linear-a" "G_UNICODE_SCRIPT_LINEAR_A")
+    '("mahajani" "G_UNICODE_SCRIPT_MAHAJANI")
+    '("manichaean" "G_UNICODE_SCRIPT_MANICHAEAN")
+    '("mende-kikakui" "G_UNICODE_SCRIPT_MENDE_KIKAKUI")
+    '("modi" "G_UNICODE_SCRIPT_MODI")
+    '("mro" "G_UNICODE_SCRIPT_MRO")
+    '("nabataean" "G_UNICODE_SCRIPT_NABATAEAN")
+    '("old-north-arabian" "G_UNICODE_SCRIPT_OLD_NORTH_ARABIAN")
+    '("old-permic" "G_UNICODE_SCRIPT_OLD_PERMIC")
+    '("pahawh-hmong" "G_UNICODE_SCRIPT_PAHAWH_HMONG")
+    '("palmyrene" "G_UNICODE_SCRIPT_PALMYRENE")
+    '("pau-cin-hau" "G_UNICODE_SCRIPT_PAU_CIN_HAU")
+    '("psalter-pahlavi" "G_UNICODE_SCRIPT_PSALTER_PAHLAVI")
+    '("siddham" "G_UNICODE_SCRIPT_SIDDHAM")
+    '("tirhuta" "G_UNICODE_SCRIPT_TIRHUTA")
+    '("warang-citi" "G_UNICODE_SCRIPT_WARANG_CITI")
   )
 )
 
diff --git a/glib/src/gobject_functions.defs b/glib/src/gobject_functions.defs
index 87b1fb3..31c500e 100644
--- a/glib/src/gobject_functions.defs
+++ b/glib/src/gobject_functions.defs
@@ -34,6 +34,7 @@
   (values
     '("readable" "G_PARAM_READABLE")
     '("writable" "G_PARAM_WRITABLE")
+    '("readwrite" "G_PARAM_READWRITE")
     '("construct" "G_PARAM_CONSTRUCT")
     '("construct-only" "G_PARAM_CONSTRUCT_ONLY")
     '("lax-validation" "G_PARAM_LAX_VALIDATION")
@@ -41,6 +42,7 @@
     '("private" "G_PARAM_PRIVATE")
     '("static-nick" "G_PARAM_STATIC_NICK")
     '("static-blurb" "G_PARAM_STATIC_BLURB")
+    '("explicit-notify" "G_PARAM_EXPLICIT_NOTIFY")
     '("deprecated" "G_PARAM_DEPRECATED")
   )
 )
@@ -3409,6 +3411,15 @@
   )
 )
 
+(define-function g_type_check_instance_is_fundamentally_a
+  (c-name "g_type_check_instance_is_fundamentally_a")
+  (return-type "gboolean")
+  (parameters
+    '("GTypeInstance*" "instance")
+    '("GType" "fundamental_type")
+  )
+)
+
 (define-function g_type_check_class_cast
   (c-name "g_type_check_class_cast")
   (return-type "GTypeClass*")
@@ -3593,12 +3604,6 @@
 
 ;; From gtype-private.h
 
-(define-method is_in_init
-  (of-object "GType")
-  (c-name "g_type_is_in_init")
-  (return-type "gboolean")
-)
-
 
 
 ;; From gvaluearray.h
@@ -3741,6 +3746,15 @@
   )
 )
 
+(define-method init_from_instance
+  (of-object "GValue")
+  (c-name "g_value_init_from_instance")
+  (return-type "none")
+  (parameters
+    '("gpointer" "instance")
+  )
+)
+
 (define-method fits_pointer
   (of-object "GValue")
   (c-name "g_value_fits_pointer")


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]