diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-01-01 05:43:04 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-01-01 05:43:04 +0800 |
commit | 34c5e8ff0832886205484355caa01d3c1931107f (patch) | |
tree | 3cd191187484e1d42171b7dbc3f071e08f0a19c6 /src/bookmarks | |
parent | 040b546a6e265a82700b4659dfec221c38c7d40e (diff) | |
download | gsoc2013-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.
Diffstat (limited to 'src/bookmarks')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-editor.c | 8 |
1 files changed, 2 insertions, 6 deletions
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), |