Fix the types of some variables to be GLogLevelFlags instead of guint.
authorMatthias Clasen <maclas@gmx.de>
Mon, 20 Sep 2004 03:53:39 +0000 (03:53 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 20 Sep 2004 03:53:39 +0000 (03:53 +0000)
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)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gmessages.c

index ed28898..320ed79 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index ed28898..320ed79 100644 (file)
@@ -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
index ed28898..320ed79 100644 (file)
@@ -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
index ed28898..320ed79 100644 (file)
@@ -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
index ed28898..320ed79 100644 (file)
@@ -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
index 0aac036..09fe259 100644 (file)
@@ -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;