From 43851fe03437df6402ec8c1805ee767457c86faf Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 12 Dec 2001 22:29:53 +0000 Subject: [PATCH] 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) --- ChangeLog | 10 ++++++++++ ChangeLog.pre-2-0 | 10 ++++++++++ ChangeLog.pre-2-10 | 10 ++++++++++ ChangeLog.pre-2-2 | 10 ++++++++++ ChangeLog.pre-2-4 | 10 ++++++++++ ChangeLog.pre-2-6 | 10 ++++++++++ ChangeLog.pre-2-8 | 10 ++++++++++ docs/reference/ChangeLog | 9 +++++++++ docs/reference/gdk/tmpl/selections.sgml | 2 +- docs/reference/gtk/gtk-sections.txt | 1 - docs/reference/gtk/tmpl/gtklist.sgml | 16 ++++++++-------- docs/reference/gtk/tmpl/gtksocket.sgml | 2 +- docs/reference/gtk/tmpl/gtkstyle.sgml | 6 ------ gtk/gtkstyle.h | 5 ----- gtk/gtktextlayout.c | 2 +- gtk/gtkwidget.c | 15 +++++++-------- gtk/gtkwindow.c | 4 ++-- 17 files changed, 99 insertions(+), 33 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1b4cb5256a..dd2da1e602 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2001-12-12 Matthias Clasen + + * 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 * gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 1b4cb5256a..dd2da1e602 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,13 @@ +2001-12-12 Matthias Clasen + + * 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 * gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 1b4cb5256a..dd2da1e602 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,13 @@ +2001-12-12 Matthias Clasen + + * 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 * gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 1b4cb5256a..dd2da1e602 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,13 @@ +2001-12-12 Matthias Clasen + + * 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 * gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 1b4cb5256a..dd2da1e602 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,13 @@ +2001-12-12 Matthias Clasen + + * 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 * gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 1b4cb5256a..dd2da1e602 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,13 @@ +2001-12-12 Matthias Clasen + + * 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 * gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 1b4cb5256a..dd2da1e602 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,13 @@ +2001-12-12 Matthias Clasen + + * 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 * gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 40434b6bd8..9b916d1891 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,12 @@ +2001-12-12 Matthias Clasen + + * 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 * gtk/text_widget.sgml: add another example diff --git a/docs/reference/gdk/tmpl/selections.sgml b/docs/reference/gdk/tmpl/selections.sgml index efc8ca1f9d..619a9f8f49 100644 --- a/docs/reference/gdk/tmpl/selections.sgml +++ b/docs/reference/gdk/tmpl/selections.sgml @@ -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. diff --git a/docs/reference/gtk/gtk-sections.txt b/docs/reference/gtk/gtk-sections.txt index 203fcb7e95..e00f7952ae 100644 --- a/docs/reference/gtk/gtk-sections.txt +++ b/docs/reference/gtk/gtk-sections.txt @@ -3825,7 +3825,6 @@ gtk_gc_release
gtkstyle GtkStyle -GTK_STYLE_NUM_STYLECOLORS GTK_STYLE_ATTACHED GtkStyle GtkStyleClass diff --git a/docs/reference/gtk/tmpl/gtklist.sgml b/docs/reference/gtk/tmpl/gtklist.sgml index 4eaf3e4684..6655883315 100644 --- a/docs/reference/gtk/tmpl/gtklist.sgml +++ b/docs/reference/gtk/tmpl/gtklist.sgml @@ -6,7 +6,7 @@ Widget for packing a list of selectable items. -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. Creates a new #GtkList. -@Returns: the newly created #GtkList +@Returns: the newly-created #GtkList -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. @@ -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 -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. -@list: +@list: the list widget. @@ -285,7 +285,7 @@ scrolls to the ratio @position: 0 is top, 1 is bottom. 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(). @list: the list widget. diff --git a/docs/reference/gtk/tmpl/gtksocket.sgml b/docs/reference/gtk/tmpl/gtksocket.sgml index 608ae3a16e..48b03c9ff1 100644 --- a/docs/reference/gtk/tmpl/gtksocket.sgml +++ b/docs/reference/gtk/tmpl/gtksocket.sgml @@ -53,7 +53,7 @@ separate toplevel window. You can check if the plug has been created by examining the plug_window 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. diff --git a/docs/reference/gtk/tmpl/gtkstyle.sgml b/docs/reference/gtk/tmpl/gtkstyle.sgml index 957faa9ef3..220aa57587 100644 --- a/docs/reference/gtk/tmpl/gtkstyle.sgml +++ b/docs/reference/gtk/tmpl/gtkstyle.sgml @@ -14,12 +14,6 @@ Styles - - -The number of colors used in a style. - - - diff --git a/gtk/gtkstyle.h b/gtk/gtkstyle.h index 4304de01c2..5ac6eb1261 100644 --- a/gtk/gtkstyle.h +++ b/gtk/gtkstyle.h @@ -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 diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c index a0e7575f69..4a85903a6b 100644 --- a/gtk/gtktextlayout.c +++ b/gtk/gtktextlayout.c @@ -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) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index f2467f585b..79483a76ba 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -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. - * - * + * * GtkWidget *toplevel = gtk_widget_get_toplevel (widget); * if (GTK_WIDGET_TOPLEVEL (toplevel)) * { * [ Perform action on toplevel. ] * } - * + * * - * 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. **/ diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index b1d48ce06a..6c165a946a 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -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