mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
various: add GLIB_AVAILABLE_IN_ALL everywhere else
Add the GLIB_AVAILABLE_IN_ALL annotation to all old functions (that haven't already been annotated with the GLIB_AVAILABLE_IN_* macros or a deprecation macro). If we discover in the future that we cannot use only one macro on Windows, it will be an easy sed patch to fix that. https://bugzilla.gnome.org/show_bug.cgi?id=688681
This commit is contained in:
@@ -46,19 +46,25 @@ G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GCredentialsClass GCredentialsClass;
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GType g_credentials_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GCredentials *g_credentials_new (void);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gchar *g_credentials_to_string (GCredentials *credentials);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gpointer g_credentials_get_native (GCredentials *credentials,
|
||||
GCredentialsType native_type);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
void g_credentials_set_native (GCredentials *credentials,
|
||||
GCredentialsType native_type,
|
||||
gpointer native);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_credentials_is_same_user (GCredentials *credentials,
|
||||
GCredentials *other_credentials,
|
||||
GError **error);
|
||||
@@ -67,8 +73,10 @@ gboolean g_credentials_is_same_user (GCredentials *credentials,
|
||||
GLIB_AVAILABLE_IN_2_36
|
||||
pid_t g_credentials_get_unix_pid (GCredentials *credentials,
|
||||
GError **error);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
uid_t g_credentials_get_unix_user (GCredentials *credentials,
|
||||
GError **error);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_credentials_set_unix_user (GCredentials *credentials,
|
||||
uid_t uid,
|
||||
GError **error);
|
||||
|
Reference in New Issue
Block a user