changeset 32187:a56483e407d4

Use a consistent debugging domain.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 19 Sep 2011 20:31:33 +0000
parents 3e27c95ab8e6
children 1caf13175039
files pidgin/gtkconv-theme-loader.c
diffstat 1 files changed, 16 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv-theme-loader.c	Mon Sep 19 20:23:13 2011 +0000
+++ b/pidgin/gtkconv-theme-loader.c	Mon Sep 19 20:31:33 2011 +0000
@@ -119,21 +119,25 @@
 	plist = xmlnode_from_file(contents, "Info.plist", "Info.plist", "gtkconv-theme-loader");
 	g_free(contents);
 	if (plist == NULL) {
-		purple_debug_error("gtkconv-theme", "Failed to load Contents/Info.plist in %s\n", dir);
+		purple_debug_error("gtkconv-theme-loader",
+		                   "Failed to load Contents/Info.plist in %s\n", dir);
 		return NULL;
 	}
 
 	info = read_info_plist(plist);
 	xmlnode_free(plist);
 	if (info == NULL) {
-		purple_debug_error("gtkconv-theme", "Failed to load Contents/Info.plist in %s\n", dir);
+		purple_debug_error("gtkconv-theme-loader",
+		                   "Failed to load Contents/Info.plist in %s\n", dir);
 		return NULL;
 	}
 
 	/* Check for required keys: CFBundleName */
 	val = g_hash_table_lookup(info, "CFBundleName");
 	if (!val) {
-		purple_debug_error("gtkconv-theme", "%s/Contents/Info.plist missing required key CFBundleName.\n", dir);
+		purple_debug_error("gtkconv-theme-loader",
+		                   "%s/Contents/Info.plist missing required key CFBundleName.\n",
+		                   dir);
 		g_hash_table_destroy(info);
 		return NULL;
 	}
@@ -142,7 +146,9 @@
 	/* Check for required keys: CFBundleIdentifier */
 	val = g_hash_table_lookup(info, "CFBundleIdentifier");
 	if (!val) {
-		purple_debug_error("gtkconv-theme", "%s/Contents/Info.plist missing required key CFBundleIdentifier.\n", dir);
+		purple_debug_error("gtkconv-theme-loader",
+		                   "%s/Contents/Info.plist missing required key CFBundleIdentifier.\n",
+		                   dir);
 		g_hash_table_destroy(info);
 		return NULL;
 	}
@@ -151,15 +157,18 @@
 	/* Check for required keys: MessageViewVersion */
 	val = g_hash_table_lookup(info, "MessageViewVersion");
 	if (!val) {
-		purple_debug_error("gtkconv-theme", "%s/Contents/Info.plist missing required key MessageViewVersion.\n", dir);
+		purple_debug_error("gtkconv-theme-loader",
+		                   "%s/Contents/Info.plist missing required key MessageViewVersion.\n",
+		                   dir);
 		g_hash_table_destroy(info);
 		return NULL;
 	}
 
 	MessageViewVersion = g_value_get_int(val);
 	if (MessageViewVersion < 3) {
-		purple_debug_error("gtkconv-theme", "%s is a legacy style (version %d) and will not be loaded.\n",
-		                  CFBundleName, MessageViewVersion);
+		purple_debug_error("gtkconv-theme-loader",
+		                   "%s is a legacy style (version %d) and will not be loaded.\n",
+		                   CFBundleName, MessageViewVersion);
 		g_hash_table_destroy(info);
 		return NULL;
 	}