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.
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user