mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 17:26:17 +01:00
gthread/: fix up declarations
g_thread_init() is now a deprecated API, so drop G_DISABLE_DEPRECATED from the CFLAGS for gthread/. Add the missing declaration for g_thread_init_with_errorcheck_mutexes() back to deprecated/gthread.h.
This commit is contained in:
parent
3eec796b18
commit
a6d9cf3380
@ -257,6 +257,8 @@ gboolean g_once_init_enter_impl (volatile gsize *location);
|
||||
|
||||
GLIB_DEPRECATED
|
||||
void g_thread_init (gpointer vtable);
|
||||
GLIB_DEPRECATED
|
||||
void g_thread_init_with_errorcheck_mutexes (gpointer vtable);
|
||||
|
||||
GLIB_DEPRECATED
|
||||
gboolean g_thread_get_initialized (void);
|
||||
|
@ -6,8 +6,7 @@ AM_CPPFLAGS = \
|
||||
-DG_LOG_DOMAIN=\"GThread\" \
|
||||
-DGLIB_COMPILATION \
|
||||
@GTHREAD_COMPILE_IMPL_DEFINES@ \
|
||||
@GLIB_DEBUG_FLAGS@ \
|
||||
-DG_DISABLE_DEPRECATED
|
||||
@GLIB_DEBUG_FLAGS@
|
||||
|
||||
EXTRA_DIST += \
|
||||
makefile.msc.in \
|
||||
|
@ -31,7 +31,7 @@
|
||||
* MT safe
|
||||
*/
|
||||
|
||||
#include "glib.h"
|
||||
#include <glib.h>
|
||||
|
||||
void
|
||||
g_thread_init (gpointer init)
|
||||
|
Loading…
Reference in New Issue
Block a user