diff options
author | José Alburquerque <jaalburqu@svn.gnome.org> | 2012-02-16 17:10:25 -0500 |
---|---|---|
committer | José Alburquerque <jaalburqu@svn.gnome.org> | 2012-02-16 17:10:25 -0500 |
commit | 109101611a989a32d0ddc769dbfe799f08d0696c (patch) | |
tree | 8fade0a87fbbf7384898df818749b2a1a2eb3ed9 /gio/src/gio_methods.defs | |
parent | e87a8805147509a501b452cdb95b1eac08e8251e (diff) | |
download | glibmm-109101611a989a32d0ddc769dbfe799f08d0696c.tar.gz |
h2def.py: Handle deprecated functions.
* tools/defs_gen/h2def.py: The g_application_set_action_group() and
the g_volume_monitor_adopt_orphan_mount() functions are wrapped but
not generated because they have been deprecated in their header files
by using a GLIB_DEPRECATED macro before the function declaration.
Modify this tool to strip the macro so the functions are recognized.
* gio/src/gio_methods.defs: Regenerate so the missing method
definitions are included.
Diffstat (limited to 'gio/src/gio_methods.defs')
-rw-r--r-- | gio/src/gio_methods.defs | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/gio/src/gio_methods.defs b/gio/src/gio_methods.defs index 77e94024..33c07aba 100644 --- a/gio/src/gio_methods.defs +++ b/gio/src/gio_methods.defs @@ -2360,6 +2360,15 @@ ) ) +(define-method set_action_group + (of-object "GApplication") + (c-name "g_application_set_action_group") + (return-type "none") + (parameters + '("GActionGroup*" "action_group") + ) +) + (define-method get_is_registered (of-object "GApplication") (c-name "g_application_get_is_registered") @@ -6044,6 +6053,20 @@ ) ) +(define-function g_desktop_app_info_lookup_get_type + (c-name "g_desktop_app_info_lookup_get_type") + (return-type "GType") +) + +(define-method get_default_for_uri_scheme + (of-object "GDesktopAppInfoLookup") + (c-name "g_desktop_app_info_lookup_get_default_for_uri_scheme") + (return-type "GAppInfo*") + (parameters + '("const-char*" "uri_scheme") + ) +) + (define-method launch_uris_as_manager (of-object "GDesktopAppInfo") (c-name "g_desktop_app_info_launch_uris_as_manager") @@ -14438,6 +14461,21 @@ (return-type "GType") ) +(define-method set_use_system_certdb + (of-object "GTlsConnection") + (c-name "g_tls_connection_set_use_system_certdb") + (return-type "none") + (parameters + '("gboolean" "use_system_certdb") + ) +) + +(define-method get_use_system_certdb + (of-object "GTlsConnection") + (c-name "g_tls_connection_get_use_system_certdb") + (return-type "gboolean") +) + (define-method set_database (of-object "GTlsConnection") (c-name "g_tls_connection_set_database") @@ -15541,6 +15579,12 @@ (return-type "GUnixSocketAddressType") ) +(define-method get_is_abstract + (of-object "GUnixSocketAddress") + (c-name "g_unix_socket_address_get_is_abstract") + (return-type "gboolean") +) + (define-function g_unix_socket_address_abstract_names_supported (c-name "g_unix_socket_address_abstract_names_supported") (return-type "gboolean") @@ -15786,6 +15830,14 @@ ) ) +(define-function g_volume_monitor_adopt_orphan_mount + (c-name "g_volume_monitor_adopt_orphan_mount") + (return-type "GVolume*") + (parameters + '("GMount*" "mount") + ) +) + ;; From gwin32appinfo.h |