mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
Fix the types of some variables to be GLogLevelFlags instead of guint.
Sun Sep 19 23:52:35 2004 Matthias Clasen <maclas@gmx.de> * glib/gmessages.c (mklevel_prefix): * glib/gmessages.c (g_logv): Fix the types of some variables to be GLogLevelFlags instead of guint. (#153042, Philippe Blain)
This commit is contained in:
parent
859b7b4959
commit
b61e269d0d
@ -1,3 +1,9 @@
|
||||
Sun Sep 19 23:52:35 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gmessages.c (mklevel_prefix):
|
||||
* glib/gmessages.c (g_logv): Fix the types of some variables
|
||||
to be GLogLevelFlags instead of guint. (#153042, Philippe Blain)
|
||||
|
||||
2004-09-18 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* Version bump
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Sep 19 23:52:35 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gmessages.c (mklevel_prefix):
|
||||
* glib/gmessages.c (g_logv): Fix the types of some variables
|
||||
to be GLogLevelFlags instead of guint. (#153042, Philippe Blain)
|
||||
|
||||
2004-09-18 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* Version bump
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Sep 19 23:52:35 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gmessages.c (mklevel_prefix):
|
||||
* glib/gmessages.c (g_logv): Fix the types of some variables
|
||||
to be GLogLevelFlags instead of guint. (#153042, Philippe Blain)
|
||||
|
||||
2004-09-18 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* Version bump
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Sep 19 23:52:35 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gmessages.c (mklevel_prefix):
|
||||
* glib/gmessages.c (g_logv): Fix the types of some variables
|
||||
to be GLogLevelFlags instead of guint. (#153042, Philippe Blain)
|
||||
|
||||
2004-09-18 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* Version bump
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Sep 19 23:52:35 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gmessages.c (mklevel_prefix):
|
||||
* glib/gmessages.c (g_logv): Fix the types of some variables
|
||||
to be GLogLevelFlags instead of guint. (#153042, Philippe Blain)
|
||||
|
||||
2004-09-18 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* Version bump
|
||||
|
@ -459,7 +459,7 @@ g_logv (const gchar *log_domain,
|
||||
guint depth = GPOINTER_TO_UINT (g_private_get (g_log_depth));
|
||||
GLogDomain *domain;
|
||||
GLogFunc log_func;
|
||||
guint domain_fatal_mask;
|
||||
GLogLevelFlags domain_fatal_mask;
|
||||
gpointer data = NULL;
|
||||
|
||||
if (was_fatal)
|
||||
@ -488,7 +488,7 @@ g_logv (const gchar *log_domain,
|
||||
/* had to defer debug initialization until we can keep track of recursion */
|
||||
if (!(test_level & G_LOG_FLAG_RECURSION) && !_g_debug_initialized)
|
||||
{
|
||||
guint orig_test_level = test_level;
|
||||
GLogLevelFlags orig_test_level = test_level;
|
||||
|
||||
_g_debug_init ();
|
||||
if ((domain_fatal_mask | g_log_always_fatal) & test_level)
|
||||
@ -706,8 +706,8 @@ format_unsigned (gchar *buf,
|
||||
#define ALERT_LEVELS (G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING)
|
||||
|
||||
static GFileDescriptor
|
||||
mklevel_prefix (gchar level_prefix[STRING_BUFFER_SIZE],
|
||||
guint log_level)
|
||||
mklevel_prefix (gchar level_prefix[STRING_BUFFER_SIZE],
|
||||
GLogLevelFlags log_level)
|
||||
{
|
||||
gboolean to_stdout = TRUE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user