aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-01-01 05:43:04 +0800
committerChristian Persch <chpe@src.gnome.org>2005-01-01 05:43:04 +0800
commit34c5e8ff0832886205484355caa01d3c1931107f (patch)
tree3cd191187484e1d42171b7dbc3f071e08f0a19c6
parent040b546a6e265a82700b4659dfec221c38c7d40e (diff)
downloadgsoc2013-epiphany-34c5e8ff0832886205484355caa01d3c1931107f.tar
gsoc2013-epiphany-34c5e8ff0832886205484355caa01d3c1931107f.tar.gz
gsoc2013-epiphany-34c5e8ff0832886205484355caa01d3c1931107f.tar.bz2
gsoc2013-epiphany-34c5e8ff0832886205484355caa01d3c1931107f.tar.lz
gsoc2013-epiphany-34c5e8ff0832886205484355caa01d3c1931107f.tar.xz
gsoc2013-epiphany-34c5e8ff0832886205484355caa01d3c1931107f.tar.zst
gsoc2013-epiphany-34c5e8ff0832886205484355caa01d3c1931107f.zip
Save a strdup.
2004-12-31 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (delete_topic_dialog_construct): Save a strdup.
-rw-r--r--ChangeLog6
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c8
2 files changed, 8 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 1a4430213..cae7d2a24 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2004-12-31 Christian Persch <chpe@cvs.gnome.org>
+ * src/bookmarks/ephy-bookmarks-editor.c: (delete_topic_dialog_construct):
+
+ Save a strdup.
+
+2004-12-31 Christian Persch <chpe@cvs.gnome.org>
+
* src/ephy-notebook.c: (tab_label_style_set_cb):
Use approximate_digit_width, and use a smaller number of chars.
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 514e51280..947d31911 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -458,17 +458,13 @@ delete_topic_dialog_construct (GtkWindow *parent,
const char *topic)
{
GtkWidget *dialog;
- char *str;
-
- str = g_strdup_printf (_("Delete topic %s?"), topic);
dialog = gtk_message_dialog_new (GTK_WINDOW (parent),
GTK_DIALOG_MODAL,
GTK_MESSAGE_WARNING,
GTK_BUTTONS_CANCEL,
- str);
-
- g_free (str);
+ _("Delete topic \"%s\"?"),
+ topic);
gtk_window_set_title (GTK_WINDOW (dialog), _("Delete this topic?"));
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),