# HG changeset patch # User Elliott Sales de Andrade # Date 1316464293 0 # Node ID a56483e407d4f5a8d27616c22e9568a6f201142c # Parent 3e27c95ab8e6eac1dd5107f8f01a2d506fb6504a Use a consistent debugging domain. diff -r 3e27c95ab8e6 -r a56483e407d4 pidgin/gtkconv-theme-loader.c --- 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; }