[gtk+/client-side-decorations] Use g_debug() instead of meta_topic()
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/client-side-decorations] Use g_debug() instead of meta_topic()
- Date: Wed, 23 Jun 2010 21:14:27 +0000 (UTC)
commit 4a374524348344d629297085ef56ca41da4f0fe7
Author: Federico Mena Quintero <federico novell com>
Date: Thu Jun 10 15:58:48 2010 -0500
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 d61c2fe..4304c66 100644
--- a/gtk/theme-parser.c
+++ b/gtk/theme-parser.c
@@ -23,7 +23,6 @@
#include <config.h>
#include "theme-parser.h"
-#include "util.h"
#include <string.h>
#include <stdlib.h>
@@ -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 8fc9d36..148e8cd 100644
--- a/gtk/theme.c
+++ b/gtk/theme.c
@@ -55,7 +55,6 @@
#include <config.h>
#include "theme.h"
#include "theme-parser.h"
-#include "util.h"
#include "gradient.h"
#include <gtk/gtk.h>
#include <string.h>
@@ -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);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]