summaryrefslogtreecommitdiff
path: root/gtk/gtkdialog.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2007-11-25 06:51:19 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-11-25 06:51:19 +0000
commit4896e24bb1121bf114f9daf25a105f8a815066ff (patch)
treef124808c75f514a4aeb5ba043f06e9e3892f1560 /gtk/gtkdialog.c
parent1719428849826d9baf80dcce3eb0059997919b6b (diff)
downloadgtk+-4896e24bb1121bf114f9daf25a105f8a815066ff.tar.gz
Require gtk-doc 1.8
2007-11-25 Matthias Clasen <mclasen@redhat.com> * configure.in: Require gtk-doc 1.8 * */*.c: Use gtk-doc abbreviations for examples in docs. svn path=/trunk/; revision=19041
Diffstat (limited to 'gtk/gtkdialog.c')
-rw-r--r--gtk/gtkdialog.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index 8760c19caf..3ad4299c98 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -527,7 +527,7 @@ gtk_dialog_new_empty (const gchar *title,
* so the first button in the list will be the leftmost button in the dialog.
*
* Here's a simple example:
- * <informalexample><programlisting>
+ * |[
* GtkWidget *dialog = gtk_dialog_new_with_buttons ("My dialog",
* main_app_window,
* GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
@@ -536,7 +536,7 @@ gtk_dialog_new_empty (const gchar *title,
* GTK_STOCK_CANCEL,
* GTK_RESPONSE_REJECT,
* NULL);
- * </programlisting></informalexample>
+ * ]|
*
* Return value: a new #GtkDialog
**/
@@ -989,19 +989,19 @@ run_destroy_handler (GtkDialog *dialog, gpointer data)
* destroying the dialog if you wish to do so.
*
* Typical usage of this function might be:
- * <informalexample><programlisting>
+ * |[
* gint result = gtk_dialog_run (GTK_DIALOG (dialog));
* switch (result)
* {
* case GTK_RESPONSE_ACCEPT:
- * do_application_specific_something (<!-- -->);
+ * do_application_specific_something ();
* break;
* default:
- * do_nothing_since_dialog_was_cancelled (<!-- -->);
+ * do_nothing_since_dialog_was_cancelled ();
* break;
* }
* gtk_widget_destroy (dialog);
- * </programlisting></informalexample>
+ * ]|
*
* Note that even though the recursive main loop gives the effect of a
* modal dialog (it prevents the user from interacting with other
@@ -1195,7 +1195,7 @@ gtk_dialog_set_alternative_button_order_valist (GtkDialog *dialog,
*
* Use this function after adding all the buttons to your dialog, as the
* following example shows:
- * <informalexample><programlisting>
+ * |[
* cancel_button = gtk_dialog_add_button (GTK_DIALOG (dialog),
* GTK_STOCK_CANCEL,
* GTK_RESPONSE_CANCEL);
@@ -1215,7 +1215,7 @@ gtk_dialog_set_alternative_button_order_valist (GtkDialog *dialog,
* GTK_RESPONSE_CANCEL,
* GTK_RESPONSE_HELP,
* -1);
- * </programlisting></informalexample>
+ * ]|
*
* Since: 2.6
*/