summaryrefslogtreecommitdiff
path: root/gtk/gtkdialog.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2002-04-18 22:04:46 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2002-04-18 22:04:46 +0000
commit1f75708d5a4946d857a4c73d809db60226cb8590 (patch)
tree7b059836cfaca60e0ae837b4b7350564d3fd476d /gtk/gtkdialog.c
parent40d637ec03335d14e98bd3e752baa304f0efbc1f (diff)
downloadgdk-pixbuf-1f75708d5a4946d857a4c73d809db60226cb8590.tar.gz
s/<!>/<!-- -->/g throughout the documentation to bring the produced
* gtk/gtkitemfactory.c: * gtk/gtkiconfactory.c: * gtk/gtkwidget.c: * gtk/gtkstyle.c: * gtk/gtkrc.c: * gtk/gtktreeviewcolumn.c: * gtk/gtkdialog.c: * gtk/gtktreemodel.c: s/<!>/<!-- -->/g throughout the documentation to bring the produced Docbook closer to XML. * gdk/tmpl/rgb.sgml: * gdk/tmpl/general.sgml: * gtk/tmpl/gtktogglebutton.sgml: * gtk/tmpl/gtkaccellabel.sgml: * gtk/tmpl/gtkradiobutton.sgml: * gtk/tmpl/gtktreemodel.sgml: * gtk/tmpl/gtkwidget.sgml: * gtk/tmpl/gtkimage.sgml: * gtk/tmpl/gtktooltips.sgml: * gtk/tmpl/gtksignal.sgml: * gtk/tmpl/gtkcombo.sgml: * gtk/tmpl/gtkdnd.sgml: * gtk/tmpl/gtksocket.sgml: * gtk/tmpl/gtkdrawingarea.sgml: * gtk/tmpl/gtkobject.sgml: * gtk/tmpl/gtkpaned.sgml: * gtk/tmpl/gtkmain.sgml: s/<!>/<!-- -->/g throughout the documentation to bring the produced Docbook closer to XML.
Diffstat (limited to 'gtk/gtkdialog.c')
-rw-r--r--gtk/gtkdialog.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index db87ce5b8..689b3952a 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -427,14 +427,14 @@ gtk_dialog_new_empty (const gchar *title,
*
* 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,
- * <!> GTK_STOCK_OK,
- * <!> GTK_RESPONSE_ACCEPT,
- * <!> GTK_STOCK_CANCEL,
- * <!> GTK_RESPONSE_REJECT,
- * <!> NULL);
+ * GtkWidget *dialog = gtk_dialog_new_with_buttons ("My dialog",
+ * main_app_window,
+ * GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
+ * GTK_STOCK_OK,
+ * GTK_RESPONSE_ACCEPT,
+ * GTK_STOCK_CANCEL,
+ * GTK_RESPONSE_REJECT,
+ * NULL);
* </programlisting></informalexample>
*
* Return value: a new #GtkDialog
@@ -892,17 +892,17 @@ run_destroy_handler (GtkDialog *dialog, gpointer data)
*
* 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 (<!-- -->);
- * <!> break;
- * <!> default:
- * <!> do_nothing_since_dialog_was_cancelled (<!-- -->);
- * <!> break;
- * <!> }
- * <!> gtk_widget_destroy (dialog);
+ * gint result = gtk_dialog_run (GTK_DIALOG (dialog));
+ * switch (result)
+ * {
+ * case GTK_RESPONSE_ACCEPT:
+ * do_application_specific_something (<!-- -->);
+ * break;
+ * default:
+ * do_nothing_since_dialog_was_cancelled (<!-- -->);
+ * break;
+ * }
+ * gtk_widget_destroy (dialog);
* </programlisting></informalexample>
*
* Return value: response ID