mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Point out escaping oversight. (#311260, Owen Taylor)
2005-07-22 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmessagedialog.c (gtk_message_dialog_format_secondary_markup): Point out escaping oversight. (#311260, Owen Taylor)
This commit is contained in:
parent
1db798a400
commit
fe1380e0c4
@ -1,3 +1,8 @@
|
||||
2005-07-22 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkmessagedialog.c (gtk_message_dialog_format_secondary_markup):
|
||||
Point out escaping oversight. (#311260, Owen Taylor)
|
||||
|
||||
2005-07-21 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_list_destroy): Cleanup
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-07-22 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkmessagedialog.c (gtk_message_dialog_format_secondary_markup):
|
||||
Point out escaping oversight. (#311260, Owen Taylor)
|
||||
|
||||
2005-07-21 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_list_destroy): Cleanup
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-07-22 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkmessagedialog.c (gtk_message_dialog_format_secondary_markup):
|
||||
Point out escaping oversight. (#311260, Owen Taylor)
|
||||
|
||||
2005-07-21 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_list_destroy): Cleanup
|
||||
|
@ -599,6 +599,18 @@ gtk_message_dialog_format_secondary_text (GtkMessageDialog *message_dialog,
|
||||
* Note that setting a secondary text makes the primary text become
|
||||
* bold, unless you have provided explicit markup.
|
||||
*
|
||||
* Due to an oversight, this function does not escape special XML characters
|
||||
* like gtk_message_dialog_new_with_markup() does. Thus, if the arguments
|
||||
* may contain special XML characters, you should use g_markup_printf_escaped()
|
||||
* to escape it.
|
||||
* <informalexample><programlisting>
|
||||
* gchar *msg;
|
||||
*
|
||||
* msg = g_markup_printf_escaped (message_format, ...);
|
||||
* gtk_message_dialog_format_secondary_markup (message_dialog, "%s", msg);
|
||||
* g_free (msg);
|
||||
* </programlisting></informalexample>
|
||||
*
|
||||
* Since: 2.6
|
||||
**/
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user