mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-21 17:37:53 +02:00
Rename all visibility macros
This commit is contained in:
@@ -47,15 +47,15 @@ G_BEGIN_DECLS
|
||||
*/
|
||||
#define G_DBUS_ERROR g_dbus_error_quark()
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GQuark g_dbus_error_quark (void);
|
||||
|
||||
/* Used by applications to check, get and strip the D-Bus error name */
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
gboolean g_dbus_error_is_remote_error (const GError *error);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
gchar *g_dbus_error_get_remote_error (const GError *error);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
gboolean g_dbus_error_strip_remote_error (GError *error);
|
||||
|
||||
/**
|
||||
@@ -73,37 +73,37 @@ struct _GDBusErrorEntry
|
||||
const gchar *dbus_error_name;
|
||||
};
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
gboolean g_dbus_error_register_error (GQuark error_domain,
|
||||
gint error_code,
|
||||
const gchar *dbus_error_name);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
gboolean g_dbus_error_unregister_error (GQuark error_domain,
|
||||
gint error_code,
|
||||
const gchar *dbus_error_name);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
void g_dbus_error_register_error_domain (const gchar *error_domain_quark_name,
|
||||
volatile gsize *quark_volatile,
|
||||
const GDBusErrorEntry *entries,
|
||||
guint num_entries);
|
||||
|
||||
/* Only used by object mappings to map back and forth to GError */
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
GError *g_dbus_error_new_for_dbus_error (const gchar *dbus_error_name,
|
||||
const gchar *dbus_error_message);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
void g_dbus_error_set_dbus_error (GError **error,
|
||||
const gchar *dbus_error_name,
|
||||
const gchar *dbus_error_message,
|
||||
const gchar *format,
|
||||
...) G_GNUC_PRINTF(4, 5);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
void g_dbus_error_set_dbus_error_valist (GError **error,
|
||||
const gchar *dbus_error_name,
|
||||
const gchar *dbus_error_message,
|
||||
const gchar *format,
|
||||
va_list var_args) G_GNUC_PRINTF(4, 0);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GIO_AVAILABLE_IN_ALL
|
||||
gchar *g_dbus_error_encode_gerror (const GError *error);
|
||||
|
||||
G_END_DECLS
|
||||
|
Reference in New Issue
Block a user