summaryrefslogtreecommitdiff
path: root/gtk/gtkmessagedialog.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-27 14:55:18 -0500
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-29 12:45:49 -0500
commit4c8bd8e7cf2a4850ad3aac83c0f3d6eb9c5540bd (patch)
tree6538e74167af906319ea494a08d831881fea5365 /gtk/gtkmessagedialog.c
parent768bc44081550be18ee19697ed36b5f92298ef11 (diff)
downloadgtk+-4c8bd8e7cf2a4850ad3aac83c0f3d6eb9c5540bd.tar.gz
docs: Identify examples that are C code
https://bugzilla.gnome.org/show_bug.cgi?id=723119
Diffstat (limited to 'gtk/gtkmessagedialog.c')
-rw-r--r--gtk/gtkmessagedialog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c
index 4d4d9f048a..5fe172461f 100644
--- a/gtk/gtkmessagedialog.c
+++ b/gtk/gtkmessagedialog.c
@@ -59,7 +59,7 @@
* returns when any dialog button is clicked.
* <example>
* <title>A modal dialog.</title>
- * |[
+ * |[<!-- language="C" -->
* dialog = gtk_message_dialog_new (main_application_window,
* GTK_DIALOG_DESTROY_WITH_PARENT,
* GTK_MESSAGE_ERROR,
@@ -73,7 +73,7 @@
* You might do a non-modal #GtkMessageDialog as follows:
* <example>
* <title>A non-modal dialog.</title>
- * |[
+ * |[<!-- language="C" -->
* dialog = gtk_message_dialog_new (main_application_window,
* GTK_DIALOG_DESTROY_WITH_PARENT,
* GTK_MESSAGE_ERROR,
@@ -610,7 +610,7 @@ gtk_message_dialog_new (GtkWindow *parent,
* instead, since you can't pass the markup string either
* as the format (it might contain '%' characters) or as a string
* argument.
- * |[
+ * |[<!-- language="C" -->
* GtkWidget *dialog;
* dialog = gtk_message_dialog_new (main_application_window,
* GTK_DIALOG_DESTROY_WITH_PARENT,
@@ -800,7 +800,7 @@ gtk_message_dialog_format_secondary_text (GtkMessageDialog *message_dialog,
* may contain special XML characters, you should use g_markup_printf_escaped()
* to escape it.
- * |[
+ * |[<!-- language="C" -->
* gchar *msg;
*
* msg = g_markup_printf_escaped (message_format, ...);