#include <crt_externs.h>
#endif
-#undef G_DISABLE_DEPRECATED
-
#include "gcontenttypeprivate.h"
#include "gdesktopappinfo.h"
#include "gfile.h"
*/
#define G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME "gio-desktop-app-info-lookup"
+#endif /* G_DISABLE_DEPRECATED */
+
/**
* GDesktopAppInfoLookup:
*
const char *uri_scheme);
};
+GLIB_DEPRECATED
GType g_desktop_app_info_lookup_get_type (void) G_GNUC_CONST;
+GLIB_DEPRECATED
GAppInfo *g_desktop_app_info_lookup_get_default_for_uri_scheme (GDesktopAppInfoLookup *lookup,
const char *uri_scheme);
-#endif /* G_DISABLE_DEPRECATED */
-
/**
* GDesktopAppLaunchCallback:
* @appinfo: a #GDesktopAppInfo
gboolean g_drive_is_media_check_automatic (GDrive *drive);
gboolean g_drive_can_poll_for_media (GDrive *drive);
gboolean g_drive_can_eject (GDrive *drive);
-#ifndef G_DISABLE_DEPRECATED
GLIB_DEPRECATED_FOR(g_drive_eject_with_operation)
void g_drive_eject (GDrive *drive,
GMountUnmountFlags flags,
gboolean g_drive_eject_finish (GDrive *drive,
GAsyncResult *result,
GError **error);
-#endif
void g_drive_poll_for_media (GDrive *drive,
GCancellable *cancellable,
GAsyncReadyCallback callback,
GFile * g_file_mount_mountable_finish (GFile *file,
GAsyncResult *result,
GError **error);
-#ifndef G_DISABLE_DEPRECATED
GLIB_DEPRECATED_FOR(g_file_unmount_mountable_with_operation)
void g_file_unmount_mountable (GFile *file,
GMountUnmountFlags flags,
gboolean g_file_unmount_mountable_finish (GFile *file,
GAsyncResult *result,
GError **error);
-#endif
void g_file_unmount_mountable_with_operation (GFile *file,
GMountUnmountFlags flags,
GMountOperation *mount_operation,
gboolean g_file_unmount_mountable_with_operation_finish (GFile *file,
GAsyncResult *result,
GError **error);
-#ifndef G_DISABLE_DEPRECATED
GLIB_DEPRECATED_FOR(g_file_eject_mountable_with_operation)
void g_file_eject_mountable (GFile *file,
GMountUnmountFlags flags,
gboolean g_file_eject_mountable_finish (GFile *file,
GAsyncResult *result,
GError **error);
-#endif
void g_file_eject_mountable_with_operation (GFile *file,
GMountUnmountFlags flags,
GMountOperation *mount_operation,
#endif
#include <glib/gstdio.h>
-#undef G_DISABLE_DEPRECATED
-
#ifdef G_OS_UNIX
#include "gdesktopappinfo.h"
#endif
gboolean g_mount_can_unmount (GMount *mount);
gboolean g_mount_can_eject (GMount *mount);
-#ifndef G_DISABLE_DEPRECATED
GLIB_DEPRECATED_FOR(g_mount_unmount_with_operation)
void g_mount_unmount (GMount *mount,
GMountUnmountFlags flags,
gboolean g_mount_eject_finish (GMount *mount,
GAsyncResult *result,
GError **error);
-#endif
void g_mount_remount (GMount *mount,
GMountMountFlags flags,
GType g_tls_connection_get_type (void) G_GNUC_CONST;
-#ifndef G_DISABLE_DEPRECATED
GLIB_DEPRECATED
void g_tls_connection_set_use_system_certdb (GTlsConnection *conn,
gboolean use_system_certdb);
-GLIB_DEPRECATED gboolean g_tls_connection_get_use_system_certdb (GTlsConnection *conn);
-#endif /* G_DISABLE_DEPRECATED */
+GLIB_DEPRECATED
+gboolean g_tls_connection_get_use_system_certdb (GTlsConnection *conn);
void g_tls_connection_set_database (GTlsConnection *conn,
GTlsDatabase *database);
GType g_unix_socket_address_get_type (void) G_GNUC_CONST;
GSocketAddress *g_unix_socket_address_new (const gchar *path);
-#ifndef G_DISABLE_DEPRECATED
GLIB_DEPRECATED_FOR(g_unix_socket_address_new_with_type)
GSocketAddress *g_unix_socket_address_new_abstract (const gchar *path,
gint path_len);
-#endif
GSocketAddress *g_unix_socket_address_new_with_type (const gchar *path,
gint path_len,
GUnixSocketAddressType type);
const char * g_unix_socket_address_get_path (GUnixSocketAddress *address);
gsize g_unix_socket_address_get_path_len (GUnixSocketAddress *address);
GUnixSocketAddressType g_unix_socket_address_get_address_type (GUnixSocketAddress *address);
-#ifndef G_DISABLE_DEPRECATED
GLIB_DEPRECATED
gboolean g_unix_socket_address_get_is_abstract (GUnixSocketAddress *address);
-#endif
gboolean g_unix_socket_address_abstract_names_supported (void);
gboolean g_volume_mount_finish (GVolume *volume,
GAsyncResult *result,
GError **error);
-#ifndef G_DISABLE_DEPRECATED
GLIB_DEPRECATED_FOR(g_volume_eject_with_operation)
void g_volume_eject (GVolume *volume,
GMountUnmountFlags flags,
gboolean g_volume_eject_finish (GVolume *volume,
GAsyncResult *result,
GError **error);
-#endif
char * g_volume_get_identifier (GVolume *volume,
const char *kind);
char ** g_volume_enumerate_identifiers (GVolume *volume);
GMount * g_volume_monitor_get_mount_for_uuid (GVolumeMonitor *volume_monitor,
const char *uuid);
-#ifndef G_DISABLE_DEPRECATED
+GLIB_DEPRECATED
GVolume * g_volume_monitor_adopt_orphan_mount (GMount *mount);
-#endif
G_END_DECLS