pidgin/gtkprefs.c

changeset 36002
31a8779e91d4
parent 35989
2b5a26ddbb69
parent 35991
e6937e52930b
child 36031
9eb8f52893d0
child 37144
8b63b9948107
--- 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);
 			}

mercurial