Fix formatting of examples.

* gtk/tmpl/gtkmessagedialog.sgml: Fix formatting of examples.
This commit is contained in:
Matthias Clasen 2003-03-31 22:41:55 +00:00
parent 44dff2b540
commit 01bb2521fa
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2003-04-01 Matthias Clasen <maclas@gmx.de>
* gtk/tmpl/gtkmessagedialog.sgml: Fix formatting of examples.
* gtk/tmpl/gtkfilesel.sgml: Fix the example. (#109563)
2003-03-22 Michael Natterer <mitch@gimp.org>

View File

@ -25,7 +25,7 @@ returns when any dialog button is clicked.
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
"Error loading file '%s': %s",
"Error loading file '&percnt;s': &percnt;s",
filename, g_strerror (errno));
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@ -42,7 +42,7 @@ You might do a non-modal #GtkMessageDialog as follows:
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
"Error loading file '%s': %s",
"Error loading file '&percnt;s': &percnt;s",
filename, g_strerror (errno));
/* Destroy the dialog when the user responds to it (e.g. clicks a button) */