]> Pileus Git - ~andy/gtk/commitdiff
s/<!>/<!-- -->/g throughout the documentation to bring the produced
authorMatthias Clasen <matthiasc@src.gnome.org>
Thu, 18 Apr 2002 22:04:46 +0000 (22:04 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 18 Apr 2002 22:04:46 +0000 (22:04 +0000)
* 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.

32 files changed:
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/reference/ChangeLog
docs/reference/gdk/tmpl/general.sgml
docs/reference/gdk/tmpl/rgb.sgml
docs/reference/gtk/tmpl/gtkaccellabel.sgml
docs/reference/gtk/tmpl/gtkcombo.sgml
docs/reference/gtk/tmpl/gtkdnd.sgml
docs/reference/gtk/tmpl/gtkdrawingarea.sgml
docs/reference/gtk/tmpl/gtkimage.sgml
docs/reference/gtk/tmpl/gtkmain.sgml
docs/reference/gtk/tmpl/gtkobject.sgml
docs/reference/gtk/tmpl/gtkpaned.sgml
docs/reference/gtk/tmpl/gtkradiobutton.sgml
docs/reference/gtk/tmpl/gtksignal.sgml
docs/reference/gtk/tmpl/gtksocket.sgml
docs/reference/gtk/tmpl/gtktogglebutton.sgml
docs/reference/gtk/tmpl/gtktooltips.sgml
docs/reference/gtk/tmpl/gtktreemodel.sgml
docs/reference/gtk/tmpl/gtkwidget.sgml
gtk/gtkdialog.c
gtk/gtkiconfactory.c
gtk/gtkitemfactory.c
gtk/gtkrc.c
gtk/gtkstyle.c
gtk/gtktreemodel.c
gtk/gtktreeviewcolumn.c
gtk/gtkwidget.c

index d8a1cc2244d14e3b2cda47de64e1154829ec8be5..782d77c6bfa192ce349c21247217e070d8ab57b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2002-04-18  Matthias Clasen  <maclas@gmx.de>
+
+       * 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.
+
 2002-04-18  Tor Lillqvist  <tml@iki.fi>
 
        * gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib)
index d8a1cc2244d14e3b2cda47de64e1154829ec8be5..782d77c6bfa192ce349c21247217e070d8ab57b3 100644 (file)
@@ -1,3 +1,15 @@
+2002-04-18  Matthias Clasen  <maclas@gmx.de>
+
+       * 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.
+
 2002-04-18  Tor Lillqvist  <tml@iki.fi>
 
        * gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib)
index d8a1cc2244d14e3b2cda47de64e1154829ec8be5..782d77c6bfa192ce349c21247217e070d8ab57b3 100644 (file)
@@ -1,3 +1,15 @@
+2002-04-18  Matthias Clasen  <maclas@gmx.de>
+
+       * 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.
+
 2002-04-18  Tor Lillqvist  <tml@iki.fi>
 
        * gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib)
index d8a1cc2244d14e3b2cda47de64e1154829ec8be5..782d77c6bfa192ce349c21247217e070d8ab57b3 100644 (file)
@@ -1,3 +1,15 @@
+2002-04-18  Matthias Clasen  <maclas@gmx.de>
+
+       * 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.
+
 2002-04-18  Tor Lillqvist  <tml@iki.fi>
 
        * gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib)
index d8a1cc2244d14e3b2cda47de64e1154829ec8be5..782d77c6bfa192ce349c21247217e070d8ab57b3 100644 (file)
@@ -1,3 +1,15 @@
+2002-04-18  Matthias Clasen  <maclas@gmx.de>
+
+       * 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.
+
 2002-04-18  Tor Lillqvist  <tml@iki.fi>
 
        * gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib)
index d8a1cc2244d14e3b2cda47de64e1154829ec8be5..782d77c6bfa192ce349c21247217e070d8ab57b3 100644 (file)
@@ -1,3 +1,15 @@
+2002-04-18  Matthias Clasen  <maclas@gmx.de>
+
+       * 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.
+
 2002-04-18  Tor Lillqvist  <tml@iki.fi>
 
        * gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib)
index 033e149639596c20e262a5ae426b1eb279f60baa..bc205a31a2889a6e834ceecff7420be933835fb2 100644 (file)
@@ -1,3 +1,24 @@
+2002-04-18  Matthias Clasen  <maclas@gmx.de>
+
+       * 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.
+
 Tue Mar 26 15:41:49 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/building.sgml: Add a mention of running ldconfig.
index 944e08eac3257c9ba8e07c5e3d028b40dc985923..49f64d86d8ac4392d95aed9a79c11460e70445ce 100644 (file)
@@ -348,14 +348,14 @@ avoid the X error in any other way.
 <example>
 <title>Trapping an X error.</title>
 <programlisting>
-  gdk_error_trap_push (<!>);
+  gdk_error_trap_push (<!-- -->);
 
   /* ... Call the X function which may cause an error here ... */
 
   /* Flush the X queue to catch errors now. */
-  gdk_flush (<!>);
+  gdk_flush (<!-- -->);
 
-  if (gdk_error_trap_pop (<!>))
+  if (gdk_error_trap_pop (<!-- -->))
     {
       /* ... Handle the error here ... */
     }
index f5178cf15e7a5940a6dafb017ad935f88f580509..0b1a7af0dabf47c06838b36c1acee26bc5da82a3 100644 (file)
@@ -58,7 +58,7 @@ main (int argc, char *argv[])
   gtk_init (&amp;argc, &amp;argv);
 
   window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
-  darea = gtk_drawing_area_new (<!>);
+  darea = gtk_drawing_area_new (<!-- -->);
   gtk_widget_set_size_request (darea, IMAGE_WIDTH, IMAGE_HEIGHT);
   gtk_container_add (GTK_CONTAINER (window), darea);
   gtk_signal_connect (GTK_OBJECT (darea), "expose-event",
@@ -77,7 +77,7 @@ main (int argc, char *argv[])
        }
     }
 
-  gtk_main (<!>);
+  gtk_main (<!-- -->);
   return 0;
 }
 
index 7d69ffd5ca7bae0520c8b3467da997c7ab6b3385..91249a510c00d1e0620328d638997983570b61e3 100644 (file)
@@ -43,7 +43,7 @@ though it is almost always used to display just one accelerator key.
   GtkAccelGroup *accel_group;
 
   /* Create a #GtkAccelGroup and add it to the window. */
-  accel_group = gtk_accel_group_new (<!>);
+  accel_group = gtk_accel_group_new (<!-- -->);
   gtk_window_add_accel_group (GTK_WINDOW (window), accel_group);
 
   /* Create the menu item using the convenience function. */
@@ -52,7 +52,7 @@ though it is almost always used to display just one accelerator key.
   gtk_container_add (GTK_CONTAINER (menu), save_item);
 
   /* Now add the accelerator to the GtkMenuItem. Note that since we called
-     gtk_menu_item_new_with_label(<!>) to create the GtkMenuItem the
+     gtk_menu_item_new_with_label(<!-- -->) to create the GtkMenuItem the
      GtkAccelLabel is automatically set up to display the GtkMenuItem
      accelerators. We just need to make sure we use GTK_ACCEL_VISIBLE here. */
   gtk_widget_add_accelerator (save_item, "activate", accel_group,
index cddb29b0b6a77c951eb7e60b81b2b32c340cbd62..59be2856f46728ce2767c8ba9d577d893663a60a 100644 (file)
@@ -46,7 +46,7 @@ items.</title>
   items = g_list_append (items, "Fourth Item");
   items = g_list_append (items, "Fifth Item");
 
-  combo = gtk_combo_new (<!>);
+  combo = gtk_combo_new (<!-- -->);
   gtk_combo_set_popdown_strings (GTK_COMBO (combo), items);
 </programlisting>
 </example>
@@ -56,9 +56,9 @@ items.</title>
 <programlisting>
   GtkWidget *combo, *item, *hbox, *arrow, *label;
 
-  combo = gtk_combo_new (<!>);
+  combo = gtk_combo_new (<!-- -->);
 
-  item = gtk_list_item_new (<!>);
+  item = gtk_list_item_new (<!-- -->);
   gtk_widget_show (item);
 
   /* You can put almost anything into the GtkListItem widget. Here we will use
index 98a4e08c399d4fc8b039edc731ee13245c98c4e2..02527509d7e4dc3e192f05b904ff53cd1ff28c73 100644 (file)
@@ -78,7 +78,7 @@ Sets a widget as a potential drop destination.
  on behalf of a widget for drops onto that widget. The @targets
  and @actions fields only are used if %GTK_DEST_DEFAULT_MOTION
  or %GTK_DEST_DEFAULT_DROP are given.
-@targets: a pointer to an array of #GtkTargetEntry<!>s indicating
+@targets: a pointer to an array of #GtkTargetEntry<!-- -->s indicating
  the drop types that this widget will accept.
 @n_targets: the number of entries in @targets.
 @actions: a bitmask of possible actions for a drop onto this
index 9b686dd64a0feb888c242bdbca2df3ca61e784ce..9757c2a863eff1f3d2043d155a4e257a201e9140 100644 (file)
@@ -64,7 +64,7 @@ expose_event_callback (GdkWidget *widget, GdkEventExpose *event, gpointer data)
   return TRUE;
 }
 [...]
-  GtkWidget *drawing_area = gtk_drawing_area_new (<!>);
+  GtkWidget *drawing_area = gtk_drawing_area_new (<!-- -->);
   gtk_widget_set_size_request (drawing_area, 100, 100);
   g_signal_connect (G_OBJECT (drawing_area), "expose_event",  
                     G_CALLBACK (expose_event_callback), NULL);
index 26d20c525d0bcc25f7c3f726335408daa8c13332..cb473615cfafed7b4b19cbf4b05b20db86084ac7 100644 (file)
@@ -64,7 +64,7 @@ on the image, such as button clicks, place the image inside a
 
     image = gtk_image_new_from_file ("myfile.png");
 
-    event_box = gtk_event_box_new (<!>);
+    event_box = gtk_event_box_new (<!-- -->);
 
     gtk_container_add (GTK_CONTAINER (event_box), image);
 
index 4f738f6c4d3f3443deb132554a49d055f9905a05..9e96f7bb5afd52f434a4e03a27267c8cfe19af7e 100644 (file)
@@ -46,7 +46,7 @@ int
 main (int argc, char **argv)
 {
   /* Initialize i18n support */
-  gtk_set_locale (<!>);
+  gtk_set_locale (<!-- -->);
 
   /* Initialize the widget set */
   gtk_init (&amp;argc, &amp;argv);
@@ -61,7 +61,7 @@ main (int argc, char **argv)
   gtk_widget_show_all (mainwin);
 
   /* Enter the main event loop, and wait for user interaction */
-  gtk_main (<!>);
+  gtk_main (<!-- -->);
 
   /* The user lost interest */
   return 0;
@@ -171,8 +171,8 @@ and invoke timeouts etc. while doing some time intensive computation.
 <programlisting>
        /* computation going on */
 ...
-        while (gtk_events_pending (<!>))
-         gtk_main_iteration (<!>);
+        while (gtk_events_pending (<!-- -->))
+         gtk_main_iteration (<!-- -->);
 ...
        /* computation continued */
 </programlisting>
@@ -334,7 +334,7 @@ main (int argc, char **argv)
   gtk_container_add (GTK_CONTAINER (win), but);
 
   gtk_widget_show_all (win);
-  gtk_main (<!>);
+  gtk_main (<!-- -->);
   return 0;
 }
 </programlisting>
index e7d68589ec1a9da6b4ee7f8fc30befae30f92069..1a948be38eb944bbd5a87c66284c789f8d60b43b 100644 (file)
@@ -39,7 +39,7 @@ it called g_object_ref()), and the child widget has no floating reference.
 The purpose of the floating reference is to keep the child widget alive 
 until you add it to a parent container:
 <informalexample><programlisting>
-   button = gtk_button_new (<!>);
+   button = gtk_button_new (<!-- -->);
    /* button has one floating reference to keep it alive */
    gtk_container_add (GTK_CONTAINER (container), button);
    /* button has one non-floating reference owned by the container */
index e731c2038ca39a9caf08e0116ba69f8b0cb3b4d2..2bfa3e5c278ed89a925965e721fa2dfa320758a8 100644 (file)
@@ -47,7 +47,7 @@ gtk_paned_set_position().
 <example>
 <title>Creating a paned widget with minimum sizes.</title>
 <programlisting>
-GtkWidget *hpaned = gtk_hpaned_new (<!>);
+GtkWidget *hpaned = gtk_hpaned_new (<!-- -->);
 GtkWidget *frame1 = gtk_frame_new (NULL);
 GtkWidget *frame2 = gtk_frame_new (NULL);
 gtk_frame_set_shadow_type (GTK_FRAME (frame1), GTK_SHADOW_IN);
index d3117b4c8abe69d3d650ce11fdd6864e8a206ef3..6ca8c201e36993882dd02a4c132d66b6fe5c2039 100644 (file)
@@ -48,7 +48,7 @@ void create_radio_buttons (void) {
    
    /* Create a radio button with a GtkEntry widget */
    radio1 = gtk_radio_button_new (NULL);
-   entry = gtk_entry_new (<!>);
+   entry = gtk_entry_new (<!-- -->);
    gtk_container_add (GTK_CONTAINER (radio1), entry);
    
    
index 3d391d7e59d5c20fbae8285558242b636e4d55c7..edb7b8b71c4e3ddf4c54ce1298c0f223323507d7 100644 (file)
@@ -8,7 +8,7 @@ Object methods and callbacks.
 <para>
 The GTK+ signal system merely proxies the GLib signal system now. For future 
 usage, direct use of the <link linkend="gobject-Signals">GSignal</link> API is recommended, this avoids significant 
-performance hits where #GtkArg structures have to be converted into #GValue<!>s.
+performance hits where #GtkArg structures have to be converted into #GValue<!-- -->s.
 </para>
 
 <refsect2>
index 579105672d5c9aa067ecede3ed44b9c417f49cdd..38e6fe9fd99646586fe0e4701b520f033c001b1a 100644 (file)
@@ -25,7 +25,7 @@ have been added to its parent.
 <example>
 <title>Obtaining the window ID of a socket.</title>
 <programlisting>
-GtkWidget *socket = gtk_socket_new (<!>);
+GtkWidget *socket = gtk_socket_new (<!-- -->);
 gtk_widget_show (socket);
 gtk_container_add (GTK_CONTAINER (parent), socket);
 
index c14925f8fde1ab851e2ccaa659ddde7369a7207c..ae72f3a42fddf4e5e4953ecfbeb7e97b6a525596 100644 (file)
@@ -31,7 +31,7 @@ To simply switch the state of a toggle button, use gtk_toggle_button_toggled.
 void make_toggles (void) {
    GtkWidget *dialog, *toggle1, *toggle2;
 
-   dialog = gtk_dialog_new (<!>);
+   dialog = gtk_dialog_new (<!-- -->);
    toggle1 = gtk_toggle_button_new_with_label ("Hi, i'm a toggle button.");
 
    /* Makes this toggle button invisible */
index 68e807bb26a735c02a3870bd301c386786c72cc2..b9879da88b2fbcf3d9e472f4d9d40ff7ee342ed2 100644 (file)
@@ -38,7 +38,7 @@ Information about the tooltip (if any) associated with an arbitrary widget can b
    GtkWidget *load_button, *save_button, *hbox;
    GtkTooltips *button_bar_tips;
    
-   button_bar_tips = gtk_tooltips_new (<!>);
+   button_bar_tips = gtk_tooltips_new (<!-- -->);
    
    /* Create the buttons and pack them into a GtkHBox */
    hbox = gtk_hbox_new (TRUE, 2);
index 9c60f905f5f68976f83dfa30dff7772b04cf228d..f2128888683b79dadbad74bc20a11ac98cbd330b 100644 (file)
@@ -168,7 +168,7 @@ enum
       gchar *str_data;
       gint   int_data;
 
-      /* Make sure you terminate calls to gtk_tree_model_get(<!>)
+      /* Make sure you terminate calls to gtk_tree_model_get(<!-- -->)
        * with a '-1' value
        */
       gtk_tree_model_get (list_store, &amp;iter, 
index 69ced7b704ca83f308a09771b041758fe947b984..192eac6d08eabb8d5d63552cb1737c3d997cf8ce 100644 (file)
@@ -26,8 +26,8 @@ Tells about certain properties of the widget.
 </para>
 
 @GTK_TOPLEVEL: 
-        widgets without a real parent, as there are #GtkWindow<!>s and
-        #GtkMenu<!>s have this flag set throughout their lifetime.
+        widgets without a real parent, as there are #GtkWindow<!-- -->s and
+        #GtkMenu<!-- -->s have this flag set throughout their lifetime.
         Toplevel widgets always contain their own #GdkWindow.
 @GTK_NO_WINDOW: 
         Indicative for a widget that does not provide its own #GdkWindow. 
index db87ce5b8c054ddef70ae6dd53a8221435c620c7..689b3952a6207fbb19464a8c40ac638609d40c8c 100644 (file)
@@ -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
index 209d5a6b546f2c1709fbccc8238a44614609b6d1..985e6c3f4a26aeb2a58afbefaf27dd9ef92f8718 100644 (file)
@@ -133,11 +133,11 @@ gtk_icon_factory_finalize (GObject *object)
  * gtk_icon_factory_new:
  *
  * Creates a new #GtkIconFactory. An icon factory manages a collection
- * of #GtkIconSet<!>s; a #GtkIconSet manages a set of variants of a
+ * of #GtkIconSet<!-- -->s; a #GtkIconSet manages a set of variants of a
  * particular icon (i.e. a #GtkIconSet contains variants for different
  * sizes and widget states). Icons in an icon factory are named by a
  * stock ID, which is a simple string identifying the icon. Each
- * #GtkStyle has a list of #GtkIconFactory<!>s derived from the current
+ * #GtkStyle has a list of #GtkIconFactory<!-- -->s derived from the current
  * theme; those icon factories are consulted first when searching for
  * an icon. If the theme doesn't set a particular icon, GTK+ looks for
  * the icon in a list of default icon factories, maintained by
index adb7d4ecab0dcea1d5574e2c8424fd3ccf310dd1..d23872879f09d6ee081e9f2dd7982a793b2d2dee 100644 (file)
@@ -621,7 +621,7 @@ gtk_item_factory_path_from_widget (GtkWidget            *widget)
  * gtk_item_factory_create_items:
  * @ifactory: a #GtkItemFactory
  * @n_entries: the length of @entries
- * @entries: an array of #GtkItemFactoryEntry<!>s whose @callback members
+ * @entries: an array of #GtkItemFactoryEntry<!-- -->s whose @callback members
  *    must by of type #GtkItemFactoryCallback1
  * @callback_data: data passed to the callback functions of all entries
  *
@@ -640,7 +640,7 @@ gtk_item_factory_create_items (GtkItemFactory          *ifactory,
  * gtk_item_factory_create_items_ac:
  * @ifactory: a #GtkItemFactory
  * @n_entries: the length of @entries
- * @entries: an array of #GtkItemFactoryEntry<!>s 
+ * @entries: an array of #GtkItemFactoryEntry<!-- -->s 
  * @callback_data: data passed to the callback functions of all entries
  * @callback_type: 1 if the callback functions in @entries are of type
  *    #GtkItemFactoryCallback1, 2 if they are of type #GtkItemFactoryCallback2 
@@ -1160,7 +1160,7 @@ gtk_item_factory_create_item (GtkItemFactory           *ifactory,
 /**
  * gtk_item_factory_create_menu_entries:
  * @n_entries: the length of @entries
- * @entries: an array of #GtkMenuEntry<!>s 
+ * @entries: an array of #GtkMenuEntry<!-- -->s 
  *
  * Creates the menu items from the @entries.
  */
@@ -1366,7 +1366,7 @@ gtk_item_factory_delete_entry (GtkItemFactory         *ifactory,
  * gtk_item_factory_delete_entries:
  * @ifactory: a #GtkItemFactory
  * @n_entries: the length of @entries
- * @entries: an array of #GtkItemFactoryEntry<!>s 
+ * @entries: an array of #GtkItemFactoryEntry<!-- -->s 
  *
  * Deletes the menu items which were created from the @entries by the given
  * item factory.
index 8c479b496fea66708378fedfb083481f7e5236d3..a44c526ce1bb5d63a06f739c3a7571fde6d78cbb 100644 (file)
@@ -1616,10 +1616,10 @@ gtk_rc_get_style (GtkWidget *widget)
  *
  * The action of gtk_rc_get_style() is similar to:
  * <informalexample><programlisting>
- * <!> gtk_widget_path (widget, NULL, &amp;path, NULL);
- * <!> gtk_widget_class_path (widget, NULL, &amp;class_path, NULL);
- * <!> gtk_rc_get_style_by_paths (gtk_widget_get_settings (widget), path, class_path,
- * <!>                            G_OBJECT_TYPE (widget));
+ *  gtk_widget_path (widget, NULL, &amp;path, NULL);
+ *  gtk_widget_class_path (widget, NULL, &amp;class_path, NULL);
+ *  gtk_rc_get_style_by_paths (gtk_widget_get_settings (widget), path, class_path,
+ *                             G_OBJECT_TYPE (widget));
  * </programlisting></informalexample>
  * 
  * Return value: A style created by matching with the supplied paths,
index 5ac1002d092785b9eb9ed1bc12042ed3dc1cc25b..d0229155dbea97663d44a5fd36764592a02f7809 100644 (file)
@@ -967,7 +967,7 @@ gtk_draw_shadow (GtkStyle      *style,
  * @window: a #GdkWindow
  * @state_type: a state
  * @shadow_type: type of shadow to draw
- * @points: an array of #GdkPoint<!>s
+ * @points: an array of #GdkPoint<!-- -->s
  * @npoints: length of @points
  * @fill: %TRUE if the polygon should be filled
  * 
index e516b976038d409cce74fa46cc09631c25e4a91b..8d66e9d23b850244d78f1c94ff85629b686bcfde 100644 (file)
@@ -879,9 +879,9 @@ gtk_tree_model_iter_n_children (GtkTreeModel *tree_model,
  * index is 0.  If @index is too big, or @parent has no children, @iter is set
  * to an invalid iterator and %FALSE is returned.  @parent will remain a valid
  * node after this function has been called.  As a special case, if @parent is
- * %NULL, then the @n<!>th root node is set.
+ * %NULL, then the @n<!-- -->th root node is set.
  *
- * Return value: %TRUE, if @parent has an @n<!>th child.
+ * Return value: %TRUE, if @parent has an @n<!-- -->th child.
  **/
 gboolean
 gtk_tree_model_iter_nth_child (GtkTreeModel *tree_model,
index c2e5b2e0f4a32df4df38734be795a94ed33cf4d1..3b1c435a63c81835844f0e3cd0121dab7f02f55e 100644 (file)
@@ -1100,18 +1100,18 @@ gtk_tree_view_column_new (void)
  *
  * Here's a simple example:
  * <informalexample><programlisting>
- *  <!>enum { TEXT_COLUMN, COLOR_COLUMN, N_COLUMNS };
- *  <!>...
- *  <!>{
- *  <!>  GtkTreeViewColumn *column;
- *  <!>  GtkCellRenderer   *renderer = gtk_cell_renderer_text_new ();
- *  <!>
- *  <!>  column = gtk_tree_view_column_new_with_attributes ("Title",
- *  <!>                                                     renderer,
- *  <!>                                                     "text", TEXT_COLUMN,
- *  <!>                                                     "foreground", COLOR_COLUMN,
- *  <!>                                                     NULL);
- *  <!>}
+ *  enum { TEXT_COLUMN, COLOR_COLUMN, N_COLUMNS };
+ *  ...
+ *  {
+ *    GtkTreeViewColumn *column;
+ *    GtkCellRenderer   *renderer = gtk_cell_renderer_text_new (<!-- -->);
+ *  
+ *    column = gtk_tree_view_column_new_with_attributes ("Title",
+ *                                                       renderer,
+ *                                                       "text", TEXT_COLUMN,
+ *                                                       "foreground", COLOR_COLUMN,
+ *                                                       NULL);
+ *  }
  * </programlisting></informalexample>
  * 
  * Return value: A newly created #GtkTreeViewColumn.
index b416c11c93e367ece2ce4207e647bf6ec451976f..28667edb37d79d9f6bf8ca74c8b431bbae942101 100644 (file)
@@ -5017,13 +5017,13 @@ gtk_widget_set_extension_events (GtkWidget *widget,
  * To reliably find the toplevel #GtkWindow, use
  * gtk_widget_get_toplevel() and check if the %TOPLEVEL flags
  * is set on the result.
- *  <informalexample><programlisting>
- *  <!>GtkWidget *toplevel = gtk_widget_get_toplevel (widget);
- *  <!>if (GTK_WIDGET_TOPLEVEL (toplevel))
- *  <!> {
- *  <!>   [ Perform action on toplevel. ]
- *  <!> }
- *  </programlisting></informalexample>
+ * <informalexample><programlisting>
+ *  GtkWidget *toplevel = gtk_widget_get_toplevel (widget);
+ *  if (GTK_WIDGET_TOPLEVEL (toplevel))
+ *    {
+ *      [ Perform action on toplevel. ]
+ *    }
+ * </programlisting></informalexample>
  *
  * Return value: the topmost ancestor of @widget, or @widget itself if there's no ancestor.
  **/
@@ -5336,13 +5336,13 @@ gtk_widget_get_composite_name (GtkWidget *widget)
  * 
  * Here is a simple example:
  * <informalexample><programlisting>
- * <!>  gtk_widget_push_composite_child (<!>);
- * <!>  scrolled_window->hscrollbar = gtk_hscrollbar_new (hadjustment);
- * <!>  gtk_widget_set_composite_name (scrolled_window->hscrollbar, "hscrollbar");
- * <!>  gtk_widget_pop_composite_child (<!>);
- * <!>  gtk_widget_set_parent (scrolled_window->hscrollbar, 
- * <!>                         GTK_WIDGET (scrolled_window));
- * <!>  gtk_widget_ref (scrolled_window->hscrollbar);
+ *   gtk_widget_push_composite_child (<!-- -->);
+ *   scrolled_window->hscrollbar = gtk_hscrollbar_new (hadjustment);
+ *   gtk_widget_set_composite_name (scrolled_window->hscrollbar, "hscrollbar");
+ *   gtk_widget_pop_composite_child (<!-- -->);
+ *   gtk_widget_set_parent (scrolled_window->hscrollbar, 
+ *                          GTK_WIDGET (scrolled_window));
+ *   gtk_widget_ref (scrolled_window->hscrollbar);
  * </programlisting></informalexample>
  **/
 void