Remove debug flag argument to g_type_init() and add

Thu Jun 28 22:49:40 2001  Owen Taylor  <otaylor@redhat.com>

	* gtype.[ch] gobject-query.c testgruntime.c: Remove
	debug flag argument to g_type_init() and add
	g_type_init_with_debug_flags().
This commit is contained in:
Owen Taylor
2001-06-29 02:50:46 +00:00
committed by Owen Taylor
parent 4be0cfddf9
commit f571f74616
7 changed files with 19 additions and 5 deletions

View File

@@ -2769,7 +2769,7 @@ extern void g_signal_init (void); /* sync with gsignal.c */
/* --- initialization --- */
void
g_type_init (GTypeDebugFlags debug_flags)
g_type_init_with_debug_flags (GTypeDebugFlags debug_flags)
{
G_LOCK_DEFINE_STATIC (type_init_lock);
static TypeNode *type0_node = NULL;
@@ -2875,3 +2875,9 @@ g_type_init (GTypeDebugFlags debug_flags)
G_UNLOCK (type_init_lock);
}
void
g_type_init (void)
{
g_type_init_with_debug_flags (0);
}