pidgin/gtkprefs.c

branch
release-2.x.y
changeset 36029
cd7db320cf5c
parent 35991
e6937e52930b
child 36031
9eb8f52893d0
child 38256
035f00c4fd87
equal deleted inserted replaced
36028:fc5300cb3617 36029:cd7db320cf5c
727 727
728 /* move the entire directory to new location */ 728 /* move the entire directory to new location */
729 g_rename(purple_theme_get_dir(theme), theme_dest); 729 g_rename(purple_theme_get_dir(theme), theme_dest);
730 730
731 g_free(theme_dest); 731 g_free(theme_dest);
732 g_remove(destdir); 732 if (g_remove(destdir) != 0) {
733 purple_debug_error("gtkprefs",
734 "couldn't remove temp (dest) path\n");
735 }
733 g_object_unref(theme); 736 g_object_unref(theme);
734 737
735 prefs_themes_refresh(); 738 prefs_themes_refresh();
736 739
737 } else { 740 } else {

mercurial