comparison src/gtksavedstatuses.c @ 10732:c4cb90065e1d

[gaim-migrate @ 12334] "gaim_escape_html (according to Ethan) predates g_markup_escape_text. Current code in Gaim uses both functions. This patch removes gaim_escape_html from the API and replaces all calls in the Gaim tree with g_markup_escape_text. I included a ChangeLog.API note. As far as I can tell, this still works perfectly. This is obviously intended for HEAD only, as it removes a public function." --rlaager this was discussed extensively this morning committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 26 Mar 2005 02:43:49 +0000
parents 9cb601a1fcfa
children 364a2ef907ae
comparison
equal deleted inserted replaced
10731:783ca1f1ebdb 10732:c4cb90065e1d
178 char *title; 178 char *title;
179 char *title_escaped, *buf; 179 char *title_escaped, *buf;
180 180
181 gtk_tree_model_get(model, iter, STATUS_WINDOW_COLUMN_TITLE, &title, -1); 181 gtk_tree_model_get(model, iter, STATUS_WINDOW_COLUMN_TITLE, &title, -1);
182 182
183 title_escaped = gaim_escape_html(title); 183 title_escaped = g_markup_escape_text(title, -1);
184 buf = g_strdup_printf(_("Are you sure you want to delete %s?"), title_escaped); 184 buf = g_strdup_printf(_("Are you sure you want to delete %s?"), title_escaped);
185 free(title_escaped); 185 free(title_escaped);
186 gaim_request_action(NULL, NULL, buf, NULL, 0, title, 2, 186 gaim_request_action(NULL, NULL, buf, NULL, 0, title, 2,
187 _("Delete"), status_window_delete_confirm_cb, 187 _("Delete"), status_window_delete_confirm_cb,
188 _("Cancel"), g_free); 188 _("Cancel"), g_free);