--- a/pidgin/gtkprefs.c Tue May 06 18:27:58 2014 +0200 +++ b/pidgin/gtkprefs.c Wed May 07 11:07:45 2014 +0200 @@ -1047,9 +1047,9 @@ prefs_themes_refresh(); } else { - if (g_remove(temp_path)) { - purple_debug_error("gtkprefs", "Error removing %s: %s\n", - temp_path, g_strerror(errno)); + if (g_remove(temp_path) != 0) { + purple_debug_error("gtkprefs", + "couldn't remove temp path"); } purple_notify_error(NULL, NULL, _("Theme failed to load."), NULL, NULL); }