diff options
author | Owen Taylor <otaylor@redhat.com> | 2003-10-29 20:43:58 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2003-10-29 20:43:58 +0000 |
commit | 935b37eb24d06949839d34677a6d42c7a3d6c155 (patch) | |
tree | 08f8c100e5ca22754cd6c35159918a382833662b /gtk/gtkmessagedialog.h | |
parent | 6773cabf56de576424a69439518365d0f98da355 (diff) | |
download | gtk+-935b37eb24d06949839d34677a6d42c7a3d6c155.tar.gz |
Allow NULL for message_format, as described in the docs and as worked
Wed Oct 29 15:40:26 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmessagedialog.c (gtk_message_dialog_new/
gtk_message_dialog_new_with_format): Allow NULL
for message_format, as described in the docs and
as worked previously. (#125759, Richard Hult)
* gtk/gtkmessagedialog.c (gtk_message_dialog_new_with_markup):
Use g_markup_vprintf_escaped() to escape argumetns.
* gtk/gtkmessagedialog.[ch]: Add gtk_message_dialog_set_markup()
so there is some way to set literal markup.
Diffstat (limited to 'gtk/gtkmessagedialog.h')
-rw-r--r-- | gtk/gtkmessagedialog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkmessagedialog.h b/gtk/gtkmessagedialog.h index d350147722..fe627c0c3e 100644 --- a/gtk/gtkmessagedialog.h +++ b/gtk/gtkmessagedialog.h @@ -98,9 +98,10 @@ GtkWidget* gtk_message_dialog_new_with_markup (GtkWindow *parent, GtkButtonsType buttons, const gchar *message_format, ...) G_GNUC_PRINTF (5, 6); - +void gtk_message_dialog_set_markup (GtkMessageDialog *message_dialog, + const gchar *str); #ifdef __cplusplus } |