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:
Ryan Lortie
2012-12-06 14:04:59 -05:00
parent 0dba77d0f4
commit 0156092a42
221 changed files with 3186 additions and 0 deletions

View File

@@ -56,10 +56,14 @@ void g_io_module_scope_block (GIOModuleScope *scope,
**/
typedef struct _GIOModuleClass GIOModuleClass;
GLIB_AVAILABLE_IN_ALL
GType g_io_module_get_type (void) G_GNUC_CONST;
GLIB_AVAILABLE_IN_ALL
GIOModule *g_io_module_new (const gchar *filename);
GLIB_AVAILABLE_IN_ALL
void g_io_modules_scan_all_in_directory (const char *dirname);
GLIB_AVAILABLE_IN_ALL
GList *g_io_modules_load_all_in_directory (const gchar *dirname);
GLIB_AVAILABLE_IN_2_30
@@ -69,22 +73,33 @@ GLIB_AVAILABLE_IN_2_30
GList *g_io_modules_load_all_in_directory_with_scope (const gchar *dirname,
GIOModuleScope *scope);
GLIB_AVAILABLE_IN_ALL
GIOExtensionPoint *g_io_extension_point_register (const char *name);
GLIB_AVAILABLE_IN_ALL
GIOExtensionPoint *g_io_extension_point_lookup (const char *name);
GLIB_AVAILABLE_IN_ALL
void g_io_extension_point_set_required_type (GIOExtensionPoint *extension_point,
GType type);
GLIB_AVAILABLE_IN_ALL
GType g_io_extension_point_get_required_type (GIOExtensionPoint *extension_point);
GLIB_AVAILABLE_IN_ALL
GList *g_io_extension_point_get_extensions (GIOExtensionPoint *extension_point);
GLIB_AVAILABLE_IN_ALL
GIOExtension * g_io_extension_point_get_extension_by_name (GIOExtensionPoint *extension_point,
const char *name);
GLIB_AVAILABLE_IN_ALL
GIOExtension * g_io_extension_point_implement (const char *extension_point_name,
GType type,
const char *extension_name,
gint priority);
GLIB_AVAILABLE_IN_ALL
GType g_io_extension_get_type (GIOExtension *extension);
GLIB_AVAILABLE_IN_ALL
const char * g_io_extension_get_name (GIOExtension *extension);
GLIB_AVAILABLE_IN_ALL
gint g_io_extension_get_priority (GIOExtension *extension);
GLIB_AVAILABLE_IN_ALL
GTypeClass* g_io_extension_ref_class (GIOExtension *extension);
@@ -98,6 +113,7 @@ GTypeClass* g_io_extension_ref_class (GIOExtension
* This function is ran after the module has been loaded into GIO,
* to initialize the module.
**/
GLIB_AVAILABLE_IN_ALL
void g_io_module_load (GIOModule *module);
/**
@@ -108,6 +124,7 @@ void g_io_module_load (GIOModule *module);
* This function is ran when the module is being unloaded from GIO,
* to finalize the module.
**/
GLIB_AVAILABLE_IN_ALL
void g_io_module_unload (GIOModule *module);
/**
@@ -142,6 +159,7 @@ void g_io_module_unload (GIOModule *module);
*
* Since: 2.24
**/
GLIB_AVAILABLE_IN_ALL
char **g_io_module_query (void);
G_END_DECLS