mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 13:30:19 +00:00
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)
This commit is contained in:
parent
3a3db4003a
commit
43851fe034
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
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>
|
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
|
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
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>
|
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
|
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
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>
|
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
|
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
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>
|
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
|
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
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>
|
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
|
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
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>
|
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
|
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
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>
|
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
|
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
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>
|
2001-12-12 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* gtk/text_widget.sgml: add another example
|
* 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
|
@send_event: if %TRUE, and the new owner is different
|
||||||
from the current owner, the current owner
|
from the current owner, the current owner
|
||||||
will be sent a SelectionClear event.
|
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.
|
changed to @owner, otherwise %FALSE.
|
||||||
|
|
||||||
|
|
||||||
|
@ -3825,7 +3825,6 @@ gtk_gc_release
|
|||||||
<SECTION>
|
<SECTION>
|
||||||
<FILE>gtkstyle</FILE>
|
<FILE>gtkstyle</FILE>
|
||||||
<TITLE>GtkStyle</TITLE>
|
<TITLE>GtkStyle</TITLE>
|
||||||
GTK_STYLE_NUM_STYLECOLORS
|
|
||||||
GTK_STYLE_ATTACHED
|
GTK_STYLE_ATTACHED
|
||||||
GtkStyle
|
GtkStyle
|
||||||
GtkStyleClass
|
GtkStyleClass
|
||||||
|
@ -6,7 +6,7 @@ Widget for packing a list of selectable items.
|
|||||||
|
|
||||||
<!-- ##### SECTION Long_Description ##### -->
|
<!-- ##### SECTION Long_Description ##### -->
|
||||||
<para>
|
<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.
|
vertically in order, and can be selected.
|
||||||
|
|
||||||
The list has many selection modes, which are programmer selective and
|
The list has many selection modes, which are programmer selective and
|
||||||
@ -40,12 +40,12 @@ type.</para></listitem>
|
|||||||
Creates a new #GtkList.
|
Creates a new #GtkList.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@Returns: the newly created #GtkList
|
@Returns: the newly-created #GtkList
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gtk_list_insert_items ##### -->
|
<!-- ##### FUNCTION gtk_list_insert_items ##### -->
|
||||||
<para>
|
<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.
|
must not be freed after.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@ -208,7 +208,7 @@ in #GTK_SELECTION_EXTENDED.
|
|||||||
@list: the list widget.
|
@list: the list widget.
|
||||||
@scroll_type: the direction and length.
|
@scroll_type: the direction and length.
|
||||||
@position: the position if @scroll_type is #GTK_SCROLL_JUMP.
|
@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.
|
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 ##### -->
|
<!-- ##### FUNCTION gtk_list_end_selection ##### -->
|
||||||
<para>
|
<para>
|
||||||
Ends the selection. Used with #gtk_list_extend_selection and
|
Ends the selection. Used with gtk_list_extend_selection() and
|
||||||
#gtk_list_start_selection. Only in #GTK_SELECTION_EXTENDED.
|
gtk_list_start_selection(). Only in #GTK_SELECTION_EXTENDED mode.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@list:
|
@list: the list widget.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gtk_list_select_all ##### -->
|
<!-- ##### 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 ##### -->
|
<!-- ##### FUNCTION gtk_list_toggle_add_mode ##### -->
|
||||||
<para>
|
<para>
|
||||||
Toggles between adding to the selection and beginning a new selection. Only
|
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>
|
</para>
|
||||||
|
|
||||||
@list: the list widget.
|
@list: the list widget.
|
||||||
|
@ -53,7 +53,7 @@ separate toplevel window. You can check if the plug
|
|||||||
has been created by examining the
|
has been created by examining the
|
||||||
<StructField>plug_window</StructField> field of the
|
<StructField>plug_window</StructField> field of the
|
||||||
#GtkSocket structure. If this field is non-NULL,
|
#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.
|
of the socket.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
@ -14,12 +14,6 @@ Styles
|
|||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<!-- ##### MACRO GTK_STYLE_NUM_STYLECOLORS ##### -->
|
|
||||||
<para>
|
|
||||||
The number of colors used in a style.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO GTK_STYLE_ATTACHED ##### -->
|
<!-- ##### MACRO GTK_STYLE_ATTACHED ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
@ -63,11 +63,6 @@ typedef gboolean (*GtkRcPropertyParser) (const GParamSpec *pspec,
|
|||||||
*/
|
*/
|
||||||
typedef struct _GtkWidget GtkWidget;
|
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)
|
#define GTK_STYLE_ATTACHED(style) (GTK_STYLE (style)->attach_count > 0)
|
||||||
|
|
||||||
struct _GtkStyle
|
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
|
* 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
|
gboolean
|
||||||
gtk_text_layout_is_valid (GtkTextLayout *layout)
|
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,
|
* If you want to force an area of a window to be redrawn,
|
||||||
* use gdk_window_invalidate_rect() or gdk_window_invalidate_region().
|
* use gdk_window_invalidate_rect() or gdk_window_invalidate_region().
|
||||||
* To cause the redraw to be done immediately, follow that call
|
* 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)
|
* 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
|
* window was inside a #GtkWindow-derived widget which was in turn
|
||||||
* inside the toplevel #GtkWindow. While the second case may
|
* inside the toplevel #GtkWindow. While the second case may
|
||||||
* seem unlikely, it actually happens when a #GtkPlug is embedded
|
* 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
|
* To reliably find the toplevel #GtkWindow, use
|
||||||
* gtk_widget_get_toplevel() and check if the %TOPLEVEL flags
|
* gtk_widget_get_toplevel() and check if the %TOPLEVEL flags
|
||||||
* is set on the result.
|
* is set on the result.
|
||||||
*
|
* <informalexample><programlisting>
|
||||||
* <programlisting>
|
|
||||||
* GtkWidget *toplevel = gtk_widget_get_toplevel (widget);
|
* GtkWidget *toplevel = gtk_widget_get_toplevel (widget);
|
||||||
* if (GTK_WIDGET_TOPLEVEL (toplevel))
|
* if (GTK_WIDGET_TOPLEVEL (toplevel))
|
||||||
* {
|
* {
|
||||||
* [ Perform action on 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*
|
GtkWidget*
|
||||||
gtk_widget_get_toplevel (GtkWidget *widget)
|
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
|
* reading directions can be done. Generally, applications will
|
||||||
* let the default reading direction present, except for containers
|
* let the default reading direction present, except for containers
|
||||||
* where the containers are arranged in an order that is explicitely
|
* 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
|
* If the direction is set to %GTK_TEXT_DIR_NONE, then the value
|
||||||
* set by gtk_widget_set_default_direction() will be used.
|
* 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:
|
* gtk_widget_get_default_direction:
|
||||||
*
|
*
|
||||||
* Obtains the current default reading direction. See
|
* Obtains the current default reading direction. See
|
||||||
* gtk_widget_set_direction().
|
* gtk_widget_set_default_direction().
|
||||||
*
|
*
|
||||||
* Return value: the current default direction.
|
* Return value: the current default direction.
|
||||||
**/
|
**/
|
||||||
|
@ -1265,8 +1265,8 @@ gtk_window_get_mnemonic_modifier (GtkWindow *window)
|
|||||||
* @window: a #GtkWindow.
|
* @window: a #GtkWindow.
|
||||||
* @position: a position constraint.
|
* @position: a position constraint.
|
||||||
*
|
*
|
||||||
* Sets a position constaint for this window. If the old or new
|
* Sets a position constraint for this window. If the old or new
|
||||||
* constaint is %GTK_WIN_POS_CENTER_ALWAYS, this will also cause
|
* constraint is %GTK_WIN_POS_CENTER_ALWAYS, this will also cause
|
||||||
* the window to be repositioned to satisfy the new constraint.
|
* the window to be repositioned to satisfy the new constraint.
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user