mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-24 01:48:53 +02:00
Add g_irepository_find_by_error_domain()
Add a method to look up a GIEnumInfo given its associated error quark. Based on a patch from Colin Walters. https://bugzilla.gnome.org/show_bug.cgi?id=602516
This commit is contained in:
@@ -1117,6 +1117,9 @@ DirEntry *g_typelib_get_dir_entry_by_gtype (GITypelib *typelib,
|
||||
gboolean fastpass,
|
||||
GType gtype);
|
||||
|
||||
DirEntry *g_typelib_get_dir_entry_by_error_domain (GITypelib *typelib,
|
||||
GQuark error_domain);
|
||||
|
||||
void g_typelib_check_sanity (void);
|
||||
|
||||
#define g_typelib_get_string(typelib,offset) ((const gchar*)&(typelib->data)[(offset)])
|
||||
|
Reference in New Issue
Block a user