From 4a374524348344d629297085ef56ca41da4f0fe7 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 10 Jun 2010 15:58:48 -0500 Subject: [PATCH] Use g_debug() instead of meta_topic() --- gtk/theme-parser.c | 7 +++---- gtk/theme.c | 5 ++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/gtk/theme-parser.c b/gtk/theme-parser.c index d61c2fe86a..4304c66aa7 100644 --- a/gtk/theme-parser.c +++ b/gtk/theme-parser.c @@ -23,7 +23,6 @@ #include #include "theme-parser.h" -#include "util.h" #include #include @@ -4151,7 +4150,7 @@ load_theme (const char *theme_dir, error)) goto out; - meta_topic (META_DEBUG_THEMES, "Parsing theme file %s\n", theme_file); + g_debug ("Parsing theme file %s\n", theme_file); parse_info_init (&info); @@ -4179,8 +4178,8 @@ load_theme (const char *theme_dir, out: if (*error && !theme_error_is_fatal (*error)) { - meta_topic (META_DEBUG_THEMES, "Failed to read theme from file %s: %s\n", - theme_file, (*error)->message); + g_debug ("Failed to read theme from file %s: %s\n", + theme_file, (*error)->message); } g_free (theme_filename); diff --git a/gtk/theme.c b/gtk/theme.c index 8fc9d36797..148e8cd47d 100644 --- a/gtk/theme.c +++ b/gtk/theme.c @@ -55,7 +55,6 @@ #include #include "theme.h" #include "theme-parser.h" -#include "util.h" #include "gradient.h" #include #include @@ -4818,7 +4817,7 @@ meta_theme_set_current (const char *name, MetaTheme *new_theme; GError *err; - meta_topic (META_DEBUG_THEMES, "Setting current theme to \"%s\"\n", name); + g_debug ("Setting current theme to \"%s\"\n", name); if (!force_reload && meta_current_theme && @@ -4841,7 +4840,7 @@ meta_theme_set_current (const char *name, meta_current_theme = new_theme; - meta_topic (META_DEBUG_THEMES, "New theme is \"%s\"\n", meta_current_theme->name); + g_debug ("New theme is \"%s\"\n", meta_current_theme->name); } }