mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 00:18:44 +02:00
girepository: Drop gi_repository_get_default()
We now only support creating `GIRepository` instances as normal GObjects, not as a global singleton. This makes the semantics of the class a bit more standard and, in particular, makes it easier to ensure that everything is freed when we’re done with libgirepository. This is particularly useful for unit testing, but should also be useful when unloading modules from bindings. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3155
This commit is contained in:
@@ -76,9 +76,6 @@ typedef enum
|
||||
|
||||
/* Repository */
|
||||
|
||||
GI_AVAILABLE_IN_ALL
|
||||
GIRepository *gi_repository_get_default (void);
|
||||
|
||||
GI_AVAILABLE_IN_ALL
|
||||
GIRepository *gi_repository_new (void);
|
||||
|
||||
|
Reference in New Issue
Block a user