diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 676af81d3a..b5fbfa1571 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,5 +1,7 @@ 2003-04-01 Matthias Clasen + * gtk/tmpl/gtkmessagedialog.sgml: Fix formatting of examples. + * gtk/tmpl/gtkfilesel.sgml: Fix the example. (#109563) 2003-03-22 Michael Natterer diff --git a/docs/reference/gtk/tmpl/gtkmessagedialog.sgml b/docs/reference/gtk/tmpl/gtkmessagedialog.sgml index 7908571eea..33906b8dd0 100644 --- a/docs/reference/gtk/tmpl/gtkmessagedialog.sgml +++ b/docs/reference/gtk/tmpl/gtkmessagedialog.sgml @@ -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 '%s': %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 '%s': %s", filename, g_strerror (errno)); /* Destroy the dialog when the user responds to it (e.g. clicks a button) */