Commit 1f75708d authored by Matthias Clasen's avatar Matthias Clasen
Browse files

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.
parent 40d637ec
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)
......
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)
......
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)
......
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)
......
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)
......
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)
......
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.
......
......@@ -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 ... */
}
......
......@@ -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;
}
......
......@@ -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,
......
......@@ -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
......
......@@ -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
......
......@@ -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);
......
......@@ -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);
......
......@@ -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>
......
......@@ -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 */
......
......@@ -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);
......
......@@ -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);
......
......@@ -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>
......
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment