Fix formatting of examples.
* gtk/tmpl/gtkmessagedialog.sgml: Fix formatting of examples.
This commit is contained in:
parent
44dff2b540
commit
01bb2521fa
@ -1,5 +1,7 @@
|
|||||||
2003-04-01 Matthias Clasen <maclas@gmx.de>
|
2003-04-01 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/tmpl/gtkmessagedialog.sgml: Fix formatting of examples.
|
||||||
|
|
||||||
* gtk/tmpl/gtkfilesel.sgml: Fix the example. (#109563)
|
* gtk/tmpl/gtkfilesel.sgml: Fix the example. (#109563)
|
||||||
|
|
||||||
2003-03-22 Michael Natterer <mitch@gimp.org>
|
2003-03-22 Michael Natterer <mitch@gimp.org>
|
||||||
|
@ -25,7 +25,7 @@ returns when any dialog button is clicked.
|
|||||||
GTK_DIALOG_DESTROY_WITH_PARENT,
|
GTK_DIALOG_DESTROY_WITH_PARENT,
|
||||||
GTK_MESSAGE_ERROR,
|
GTK_MESSAGE_ERROR,
|
||||||
GTK_BUTTONS_CLOSE,
|
GTK_BUTTONS_CLOSE,
|
||||||
"Error loading file '%s': %s",
|
"Error loading file '%s': %s",
|
||||||
filename, g_strerror (errno));
|
filename, g_strerror (errno));
|
||||||
gtk_dialog_run (GTK_DIALOG (dialog));
|
gtk_dialog_run (GTK_DIALOG (dialog));
|
||||||
gtk_widget_destroy (dialog);
|
gtk_widget_destroy (dialog);
|
||||||
@ -42,7 +42,7 @@ You might do a non-modal #GtkMessageDialog as follows:
|
|||||||
GTK_DIALOG_DESTROY_WITH_PARENT,
|
GTK_DIALOG_DESTROY_WITH_PARENT,
|
||||||
GTK_MESSAGE_ERROR,
|
GTK_MESSAGE_ERROR,
|
||||||
GTK_BUTTONS_CLOSE,
|
GTK_BUTTONS_CLOSE,
|
||||||
"Error loading file '%s': %s",
|
"Error loading file '%s': %s",
|
||||||
filename, g_strerror (errno));
|
filename, g_strerror (errno));
|
||||||
|
|
||||||
/* Destroy the dialog when the user responds to it (e.g. clicks a button) */
|
/* Destroy the dialog when the user responds to it (e.g. clicks a button) */
|
||||||
|
Loading…
Reference in New Issue
Block a user