mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-28 13:12:10 +01:00
dumper: Make g_irepository_dump static when being used in dumper
Otherwise we'll bomb out if CFLAGS contains -Werror.
This commit is contained in:
parent
26841c0b51
commit
795116b391
3
gdump.c
3
gdump.c
@ -380,6 +380,9 @@ dump_type (GType type, const char *symbol, GOutputStream *out)
|
|||||||
*
|
*
|
||||||
* Returns: %TRUE on success, %FALSE on error
|
* Returns: %TRUE on success, %FALSE on error
|
||||||
*/
|
*/
|
||||||
|
#ifndef G_IREPOSITORY_COMPILATION
|
||||||
|
static
|
||||||
|
#endif
|
||||||
gboolean
|
gboolean
|
||||||
g_irepository_dump (const char *arg, GError **error)
|
g_irepository_dump (const char *arg, GError **error)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user