Commit 43851fe0 authored by Matthias Clasen's avatar Matthias Clasen

Typo fixes Typo fix. (#66746)

        * gtk/gtktextlayout.c: Typo fixes
        * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)

        * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
        gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)

        * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)

        * gtk/tmpl/gtklist.sgml: Markup fixes.

        * gdk/tmpl/selections.sgml, gtk/tmpl/gtksocket.sgml: s/succesful/successful/g.

        * gtk/gtk-sections.txt, gtk/tmpl/gtkstyle.sgml: Remove
        GTK_STYLE_NUM_STYLECOLORS. (#66467)
parent 3a3db400
2001-12-12 Matthias Clasen <matthiasc@poet.de>
* gtk/gtktextlayout.c: Typo fixes
* gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
* gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
* gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
......
2001-12-12 Matthias Clasen <matthiasc@poet.de>
* gtk/gtktextlayout.c: Typo fixes
* gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
* gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
* gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
......
2001-12-12 Matthias Clasen <matthiasc@poet.de>
* gtk/gtktextlayout.c: Typo fixes
* gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
* gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
* gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
......
2001-12-12 Matthias Clasen <matthiasc@poet.de>
* gtk/gtktextlayout.c: Typo fixes
* gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
* gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
* gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
......
2001-12-12 Matthias Clasen <matthiasc@poet.de>
* gtk/gtktextlayout.c: Typo fixes
* gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
* gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
* gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
......
2001-12-12 Matthias Clasen <matthiasc@poet.de>
* gtk/gtktextlayout.c: Typo fixes
* gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
* gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
* gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
......
2001-12-12 Matthias Clasen <matthiasc@poet.de>
* gtk/gtktextlayout.c: Typo fixes
* gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
* gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
* gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
......
2001-12-12 Matthias Clasen <matthiasc@poet.de>
* gtk/tmpl/gtklist.sgml: Markup fixes.
* gdk/tmpl/selections.sgml, gtk/tmpl/gtksocket.sgml: s/succesful/successful/g.
* gtk/gtk-sections.txt, gtk/tmpl/gtkstyle.sgml: Remove
GTK_STYLE_NUM_STYLECOLORS. (#66467)
2001-12-12 Havoc Pennington <hp@pobox.com>
* gtk/text_widget.sgml: add another example
......
......@@ -92,7 +92,7 @@ Set the owner of the given selection.
@send_event: if %TRUE, and the new owner is different
from the current owner, the current owner
will be sent a SelectionClear event.
@Returns: %TRUE if the selection owner was succesfully
@Returns: %TRUE if the selection owner was successfully
changed to @owner, otherwise %FALSE.
......
......@@ -3825,7 +3825,6 @@ gtk_gc_release
<SECTION>
<FILE>gtkstyle</FILE>
<TITLE>GtkStyle</TITLE>
GTK_STYLE_NUM_STYLECOLORS
GTK_STYLE_ATTACHED
GtkStyle
GtkStyleClass
......
......@@ -6,7 +6,7 @@ Widget for packing a list of selectable items.
<!-- ##### SECTION Long_Description ##### -->
<para>
The GtkList widget is a container whose children are displayed
The #GtkList widget is a container whose children are displayed
vertically in order, and can be selected.
The list has many selection modes, which are programmer selective and
......@@ -40,12 +40,12 @@ type.</para></listitem>
Creates a new #GtkList.
</para>
@Returns: the newly created #GtkList
@Returns: the newly-created #GtkList
<!-- ##### FUNCTION gtk_list_insert_items ##### -->
<para>
Inserts @items into the @list at the position @position. The @GList items
Inserts @items into the @list at the position @position. The #GList items
must not be freed after.
</para>
......@@ -208,7 +208,7 @@ in #GTK_SELECTION_EXTENDED.
@list: the list widget.
@scroll_type: the direction and length.
@position: the position if @scroll_type is #GTK_SCROLL_JUMP.
@auto_start_selection: if #TRUE, gtk_list_start_selection is automatically
@auto_start_selection: if %TRUE, gtk_list_start_selection() is automatically
carried out before extending the selection.
......@@ -223,11 +223,11 @@ Starts a selection (or part of selection) at the focused child. Only in
<!-- ##### FUNCTION gtk_list_end_selection ##### -->
<para>
Ends the selection. Used with #gtk_list_extend_selection and
#gtk_list_start_selection. Only in #GTK_SELECTION_EXTENDED.
Ends the selection. Used with gtk_list_extend_selection() and
gtk_list_start_selection(). Only in #GTK_SELECTION_EXTENDED mode.
</para>
@list:
@list: the list widget.
<!-- ##### FUNCTION gtk_list_select_all ##### -->
......@@ -285,7 +285,7 @@ scrolls to the ratio @position: 0 is top, 1 is bottom.
<!-- ##### FUNCTION gtk_list_toggle_add_mode ##### -->
<para>
Toggles between adding to the selection and beginning a new selection. Only
in #GTK_SELECTION_EXTENDED. Useful with #gtk_list_extend_selection.
in #GTK_SELECTION_EXTENDED. Useful with gtk_list_extend_selection().
</para>
@list: the list widget.
......
......@@ -53,7 +53,7 @@ separate toplevel window. You can check if the plug
has been created by examining the
<StructField>plug_window</StructField> field of the
#GtkSocket structure. If this field is non-NULL,
then the plug has been succesfully created inside
then the plug has been successfully created inside
of the socket.
</para>
......
......@@ -14,12 +14,6 @@ Styles
</para>
<!-- ##### MACRO GTK_STYLE_NUM_STYLECOLORS ##### -->
<para>
The number of colors used in a style.
</para>
<!-- ##### MACRO GTK_STYLE_ATTACHED ##### -->
<para>
......
......@@ -63,11 +63,6 @@ typedef gboolean (*GtkRcPropertyParser) (const GParamSpec *pspec,
*/
typedef struct _GtkWidget GtkWidget;
/* This is used for having dynamic style changing stuff
* fg, bg, light, dark, mid, text, base
*/
#define GTK_STYLE_NUM_STYLECOLORS() (7 * 5)
#define GTK_STYLE_ATTACHED(style) (GTK_STYLE (style)->attach_count > 0)
struct _GtkStyle
......
......@@ -751,7 +751,7 @@ gtk_text_layout_real_free_line_data (GtkTextLayout *layout,
*
* Check if there are any invalid regions in a #GtkTextLayout's buffer
*
* Return value: #TRUE if any invalid regions were found
* Return value: %TRUE if any invalid regions were found
**/
gboolean
gtk_text_layout_is_valid (GtkTextLayout *layout)
......
......@@ -2937,7 +2937,7 @@ gtk_widget_event (GtkWidget *widget,
* If you want to force an area of a window to be redrawn,
* use gdk_window_invalidate_rect() or gdk_window_invalidate_region().
* To cause the redraw to be done immediately, follow that call
* with a call to gdk_window_procss_updates().
* with a call to gdk_window_process_updates().
*
* Return value: return from the event signal emission (%TRUE if the event was handled)
**/
......@@ -4965,21 +4965,20 @@ gtk_widget_set_extension_events (GtkWidget *widget,
* window was inside a #GtkWindow-derived widget which was in turn
* inside the toplevel #GtkWindow. While the second case may
* seem unlikely, it actually happens when a #GtkPlug is embedded
* inside a #GtkSocket within the same application
* inside a #GtkSocket within the same application.
*
* To reliably find the toplevel #GtkWindow, use
* gtk_widget_get_toplevel() and check if the %TOPLEVEL flags
* is set on the result.
*
* <programlisting>
* <informalexample><programlisting>
* GtkWidget *toplevel = gtk_widget_get_toplevel (widget);
* if (GTK_WIDGET_TOPLEVEL (toplevel))
* {
* [ Perform action on toplevel. ]
* }
* </programlisting>
* </programlisting></informalexample>
*
* Return value: the topmost ancestor of @widget, or @widget itself if there's no ancestor
* Return value: the topmost ancestor of @widget, or @widget itself if there's no ancestor.
**/
GtkWidget*
gtk_widget_get_toplevel (GtkWidget *widget)
......@@ -5421,7 +5420,7 @@ gtk_widget_emit_direction_changed (GtkWidget *widget,
* reading directions can be done. Generally, applications will
* let the default reading direction present, except for containers
* where the containers are arranged in an order that is explicitely
* visual rather than logical (such as buttons for text justificiation).
* visual rather than logical (such as buttons for text justification).
*
* If the direction is set to %GTK_TEXT_DIR_NONE, then the value
* set by gtk_widget_set_default_direction() will be used.
......@@ -5529,7 +5528,7 @@ gtk_widget_set_default_direction (GtkTextDirection dir)
* gtk_widget_get_default_direction:
*
* Obtains the current default reading direction. See
* gtk_widget_set_direction().
* gtk_widget_set_default_direction().
*
* Return value: the current default direction.
**/
......
......@@ -1265,8 +1265,8 @@ gtk_window_get_mnemonic_modifier (GtkWindow *window)
* @window: a #GtkWindow.
* @position: a position constraint.
*
* Sets a position constaint for this window. If the old or new
* constaint is %GTK_WIN_POS_CENTER_ALWAYS, this will also cause
* Sets a position constraint for this window. If the old or new
* constraint is %GTK_WIN_POS_CENTER_ALWAYS, this will also cause
* the window to be repositioned to satisfy the new constraint.
**/
void
......
Markdown is supported
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