diff options
author | Murray Cumming <murrayc@murrayc.com> | 2011-10-25 10:42:56 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2011-10-25 10:42:56 +0200 |
commit | eef21c4a11278ac32ef243617c1b364646cfc529 (patch) | |
tree | 4e1910d3af4d2e46f76f82d523d6b6cf97e474a2 /gio/src/gio_methods.defs | |
parent | 14747701d19d79234cbca202745df5d7605504ce (diff) | |
download | glibmm-eef21c4a11278ac32ef243617c1b364646cfc529.tar.gz |
Regenerated more defs.
* gio/src/gio_enums.defs: Regenerated with enums.pl.
* gio/src/gio_methods.defs: Regenerated with h2defs.py.
* glib/src/glib_functions.defs:
* glib/src/gobject_functions.defs: Regenereated with h2defs.py
* glib/src/glib_deprecated_functions.defs: Added this file.
* glib/src/glib.defs: Mention the new file.
Diffstat (limited to 'gio/src/gio_methods.defs')
-rw-r--r-- | gio/src/gio_methods.defs | 190 |
1 files changed, 43 insertions, 147 deletions
diff --git a/gio/src/gio_methods.defs b/gio/src/gio_methods.defs index d4f61c1e..0fad83f5 100644 --- a/gio/src/gio_methods.defs +++ b/gio/src/gio_methods.defs @@ -1787,6 +1787,31 @@ (return-type "GAppLaunchContext*") ) +(define-method setenv + (of-object "GAppLaunchContext") + (c-name "g_app_launch_context_setenv") + (return-type "none") + (parameters + '("const-char*" "variable") + '("const-char*" "value") + ) +) + +(define-method unsetenv + (of-object "GAppLaunchContext") + (c-name "g_app_launch_context_unsetenv") + (return-type "none") + (parameters + '("const-char*" "variable") + ) +) + +(define-method get_environment + (of-object "GAppLaunchContext") + (c-name "g_app_launch_context_get_environment") + (return-type "char**") +) + (define-method get_display (of-object "GAppLaunchContext") (c-name "g_app_launch_context_get_display") @@ -5520,28 +5545,6 @@ (return-type "gboolean") ) -(define-method eject - (of-object "GDrive") - (c-name "g_drive_eject") - (return-type "none") - (parameters - '("GMountUnmountFlags" "flags") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method eject_finish - (of-object "GDrive") - (c-name "g_drive_eject_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - (define-method poll_for_media (of-object "GDrive") (c-name "g_drive_poll_for_media") @@ -5671,6 +5674,12 @@ ) ) +(define-method get_sort_key + (of-object "GDrive") + (c-name "g_drive_get_sort_key") + (return-type "const-gchar*") +) + ;; From gemblemedicon.h @@ -6813,28 +6822,6 @@ ) ) -(define-method unmount_mountable - (of-object "GFile") - (c-name "g_file_unmount_mountable") - (return-type "none") - (parameters - '("GMountUnmountFlags" "flags") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method unmount_mountable_finish - (of-object "GFile") - (c-name "g_file_unmount_mountable_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - (define-method unmount_mountable_with_operation (of-object "GFile") (c-name "g_file_unmount_mountable_with_operation") @@ -6858,28 +6845,6 @@ ) ) -(define-method eject_mountable - (of-object "GFile") - (c-name "g_file_eject_mountable") - (return-type "none") - (parameters - '("GMountUnmountFlags" "flags") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method eject_mountable_finish - (of-object "GFile") - (c-name "g_file_eject_mountable_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - (define-method eject_mountable_with_operation (of-object "GFile") (c-name "g_file_eject_mountable_with_operation") @@ -9295,50 +9260,6 @@ (return-type "gboolean") ) -(define-method unmount - (of-object "GMount") - (c-name "g_mount_unmount") - (return-type "none") - (parameters - '("GMountUnmountFlags" "flags") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method unmount_finish - (of-object "GMount") - (c-name "g_mount_unmount_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method eject - (of-object "GMount") - (c-name "g_mount_eject") - (return-type "none") - (parameters - '("GMountUnmountFlags" "flags") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method eject_finish - (of-object "GMount") - (c-name "g_mount_eject_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - (define-method remount (of-object "GMount") (c-name "g_mount_remount") @@ -9459,6 +9380,12 @@ ) ) +(define-method get_sort_key + (of-object "GMount") + (c-name "g_mount_get_sort_key") + (return-type "const-gchar*") +) + ;; From gmountoperation.h @@ -12704,21 +12631,6 @@ (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") @@ -13341,28 +13253,6 @@ ) ) -(define-method eject - (of-object "GVolume") - (c-name "g_volume_eject") - (return-type "none") - (parameters - '("GMountUnmountFlags" "flags") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method eject_finish - (of-object "GVolume") - (c-name "g_volume_eject_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - (define-method get_identifier (of-object "GVolume") (c-name "g_volume_get_identifier") @@ -13407,6 +13297,12 @@ ) ) +(define-method get_sort_key + (of-object "GVolume") + (c-name "g_volume_get_sort_key") + (return-type "const-gchar*") +) + ;; From gvolumemonitor.h |