From 91708cf600f8d9134cd9658a368cdbc09225c2d9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 1 Feb 2005 18:07:41 +0000 Subject: Fix many instances of "the the" in docs and comments. (#165815, Masao 2005-02-01 Matthias Clasen * */*.c: Fix many instances of "the the" in docs and comments. (#165815, Masao Mutoh) --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ ChangeLog.pre-2-8 | 3 +++ gdk-pixbuf/io-tiff.c | 2 +- gdk/gdkevents.c | 2 +- gdk/gdkrgb.c | 2 +- gdk/x11/gdkdisplay-x11.c | 2 +- gdk/x11/gdkkeys-x11.c | 2 +- gdk/x11/gdkscreen-x11.c | 2 +- gdk/x11/gdkselection-x11.c | 4 ++-- gtk/gtkbbox.c | 2 +- gtk/gtkcontainer.c | 2 +- gtk/gtkdnd.c | 4 ++-- gtk/gtkentry.c | 2 +- gtk/gtkfilechooser.c | 4 ++-- gtk/gtkfilesel.c | 2 +- gtk/gtkfilesystemmodel.c | 4 ++-- gtk/gtkradioaction.c | 2 +- gtk/gtkrc.c | 2 +- gtk/gtktreeview.c | 4 ++-- gtk/gtkwidget.c | 2 +- gtk/gtkwindow.c | 2 +- 22 files changed, 33 insertions(+), 24 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9111a877e..d3940e9e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-02-01 Matthias Clasen + * */*.c: Fix many instances of "the the" in docs and + comments. (#165815, Masao Mutoh) + * gtk/updateiconcache.c (main): Add a --quiet option. 2005-02-01 Tor Lillqvist diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 9111a877e..d3940e9e6 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2005-02-01 Matthias Clasen + * */*.c: Fix many instances of "the the" in docs and + comments. (#165815, Masao Mutoh) + * gtk/updateiconcache.c (main): Add a --quiet option. 2005-02-01 Tor Lillqvist diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 9111a877e..d3940e9e6 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,8 @@ 2005-02-01 Matthias Clasen + * */*.c: Fix many instances of "the the" in docs and + comments. (#165815, Masao Mutoh) + * gtk/updateiconcache.c (main): Add a --quiet option. 2005-02-01 Tor Lillqvist diff --git a/gdk-pixbuf/io-tiff.c b/gdk-pixbuf/io-tiff.c index c58d9cb49..e874e4d91 100644 --- a/gdk-pixbuf/io-tiff.c +++ b/gdk-pixbuf/io-tiff.c @@ -610,7 +610,7 @@ MODULE_ENTRY (tiff, fill_info) (GdkPixbufFormat *info) info->description = N_("The TIFF image format"); info->mime_types = mime_types; info->extensions = extensions; - /* not threadsafe, due the the error handler handling */ + /* not threadsafe, due to the error handler handling */ info->flags = 0; info->license = "LGPL"; } diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index 817896a05..778d5b77e 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -873,7 +873,7 @@ gdk_event_set_screen (GdkEvent *event, * Returns the screen for the event. The screen is * typically the screen for event->any.window, but * for events such as mouse events, it is the screen - * where the the pointer was when the event occurs - + * where the pointer was when the event occurs - * that is, the screen which has the root window * to which event->motion.x_root and * event->motion.y_root are relative. diff --git a/gdk/gdkrgb.c b/gdk/gdkrgb.c index 4dfd31515..05135ba7a 100644 --- a/gdk/gdkrgb.c +++ b/gdk/gdkrgb.c @@ -1312,7 +1312,7 @@ gdk_rgb_convert_gray8_gray (GdkRgbInfo *image_info, GdkImage *image, #ifdef HAIRY_CONVERT_565 /* Render a 24-bit RGB image in buf into the GdkImage, without dithering. This assumes native byte ordering - what should really be done is to - check whether the the image byte_order is consistent with the _ENDIAN + check whether the image byte_order is consistent with the _ENDIAN config flag, and if not, use a different function. This one is even faster than the one below - its inner loop loads 3 diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c index 1b5ad0fb7..f6f4e07ad 100644 --- a/gdk/x11/gdkdisplay-x11.c +++ b/gdk/x11/gdkdisplay-x11.c @@ -1132,7 +1132,7 @@ gdk_display_supports_clipboard_persistence (GdkDisplay *display) * if all available targets should be saved. * @n_targets: length of the @targets array * - * Issues a request to the the clipboard manager to store the + * Issues a request to the clipboard manager to store the * clipboard data. On X11, this is a special program that works * according to the freedesktop clipboard specification, available at * diff --git a/gdk/x11/gdkkeys-x11.c b/gdk/x11/gdkkeys-x11.c index 957d0bf2f..2464a5ceb 100644 --- a/gdk/x11/gdkkeys-x11.c +++ b/gdk/x11/gdkkeys-x11.c @@ -1170,7 +1170,7 @@ translate_keysym (GdkKeymapX11 *keymap_x11, } else { - /* Fall back to the the first level if no symbol for the level + /* Fall back to the first level if no symbol for the level * we were passed. */ shift_level = (state & shift_modifiers) ? 1 : 0; diff --git a/gdk/x11/gdkscreen-x11.c b/gdk/x11/gdkscreen-x11.c index 1d181eb5c..e62dd46bb 100644 --- a/gdk/x11/gdkscreen-x11.c +++ b/gdk/x11/gdkscreen-x11.c @@ -352,7 +352,7 @@ gdk_screen_get_n_monitors (GdkScreen *screen) * @dest : a #GdkRectangle to be filled with the monitor geometry * * Retrieves the #GdkRectangle representing the size and position of - * the individual monitor within the the entire screen area. + * the individual monitor within the entire screen area. * * Note that the size of the entire screen area can be retrieved via * gdk_screen_get_width() and gdk_screen_get_height(). diff --git a/gdk/x11/gdkselection-x11.c b/gdk/x11/gdkselection-x11.c index 06374c5cf..641647cbd 100644 --- a/gdk/x11/gdkselection-x11.c +++ b/gdk/x11/gdkselection-x11.c @@ -104,7 +104,7 @@ _gdk_selection_filter_clear_event (XSelectionClearEvent *event) /** * gdk_selection_owner_set_for_display: * @display: the #GdkDisplay. - * @owner: a #GdkWindow or %NULL to indicate that the the owner for + * @owner: a #GdkWindow or %NULL to indicate that the owner for * the given should be unset. * @selection: an atom identifying a selection. * @time_: timestamp to use when setting the selection. @@ -250,7 +250,7 @@ gdk_selection_convert (GdkWindow *requestor, If the retrieval failed, %NULL we be stored here, otherwise, it will be non-%NULL and the returned data should be freed with g_free() when you are finished using it. The length of the - allocated memory is one more than the the length + allocated memory is one more than the length of the returned data, and the final byte will always be zero, to ensure nul-termination of strings. * @prop_type: location to store the type of the property. diff --git a/gtk/gtkbbox.c b/gtk/gtkbbox.c index 1974b57ea..ac9a9d1d3 100644 --- a/gtk/gtkbbox.c +++ b/gtk/gtkbbox.c @@ -376,7 +376,7 @@ gtk_button_box_get_child_secondary (GtkButtonBox *widget, * * This group appears after the other children if the style * is %GTK_BUTTONBOX_START, %GTK_BUTTONBOX_SPREAD or - * %GTK_BUTTONBOX_EDGE, and before the the other children if the style + * %GTK_BUTTONBOX_EDGE, and before the other children if the style * is %GTK_BUTTONBOX_END. For horizontal button boxes, the definition * of before/after depends on direction of the widget (see * gtk_widget_set_direction()). If the style is %GTK_BUTTONBOX_START diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index c8b070ed4..51ae7e3b3 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -1364,7 +1364,7 @@ gtk_container_set_focus_child (GtkContainer *container, * gtk_container_get_children: * @container: a #GtkContainer. * - * Returns the the container's non-internal children. See + * Returns the container's non-internal children. See * gtk_container_forall() for details on what constitutes an "internal" child. * * Return value: a newly-allocated list of the container's non-internal children. diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c index df4f11656..e58187475 100644 --- a/gtk/gtkdnd.c +++ b/gtk/gtkdnd.c @@ -2700,7 +2700,7 @@ gtk_drag_set_icon_pixbuf (GdkDragContext *context, * @hot_x: the X offset within the icon of the hotspot. * @hot_y: the Y offset within the icon of the hotspot. * - * Sets the the icon for a given drag from a stock ID. + * Sets the icon for a given drag from a stock ID. **/ void gtk_drag_set_icon_stock (GdkDragContext *context, @@ -3500,7 +3500,7 @@ gtk_drag_end (GtkDragSourceInfo *info, guint32 time) gtk_drag_key_cb, info); - /* Send on a release pair to the the original + /* Send on a release pair to the original * widget to convince it to release its grab. We need to * call gtk_propagate_event() here, instead of * gtk_widget_event() because widget like GtkList may diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 62544d83b..7a81353c8 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -3391,7 +3391,7 @@ gtk_entry_adjust_scroll (GtkEntry *entry) * the right, when the scroll is at the utmost right. This * looks better to to me than confining the cursor inside the * border entirely, though it means that the cursor gets one - * pixel closer to the the edge of the widget on the right than + * pixel closer to the edge of the widget on the right than * on the left. This might need changing if one changed * INNER_BORDER from 2 to 1, as one would do on a * small-screen-real-estate display. diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c index ee774aeef..83c95f1f4 100644 --- a/gtk/gtkfilechooser.c +++ b/gtk/gtkfilechooser.c @@ -433,7 +433,7 @@ gtk_file_chooser_get_filename (GtkFileChooser *chooser) * @chooser: a #GtkFileChooser * @filename: the filename to set as current * - * Sets @filename as the current filename for the the file chooser; + * Sets @filename as the current filename for the file chooser; * If the file name isn't in the current folder of @chooser, then the * current folder of @chooser will be changed to the folder containing * @filename. This is equivalent to a sequence of @@ -721,7 +721,7 @@ gtk_file_chooser_get_uri (GtkFileChooser *chooser) * @chooser: a #GtkFileChooser * @uri: the URI to set as current * - * Sets the file referred to by @uri as the current file for the the + * Sets the file referred to by @uri as the current file for the * file chooser; If the file name isn't in the current folder of @chooser, * then the current folder of @chooser will be changed to the folder containing * @uri. This is equivalent to a sequence of gtk_file_chooser_unselect_all() diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c index 5ab0abda8..4b62d2b0f 100644 --- a/gtk/gtkfilesel.c +++ b/gtk/gtkfilesel.c @@ -3056,7 +3056,7 @@ open_user_dir (const gchar *text_to_complete, #endif -/* open a directory relative the the current relative directory */ +/* open a directory relative to the current relative directory */ static CompletionDir* open_relative_dir (gchar *dir_name, CompletionDir *dir, diff --git a/gtk/gtkfilesystemmodel.c b/gtk/gtkfilesystemmodel.c index 4bb32a3b1..4f8ced177 100644 --- a/gtk/gtkfilesystemmodel.c +++ b/gtk/gtkfilesystemmodel.c @@ -1124,8 +1124,8 @@ _gtk_file_system_model_set_filter (GtkFileSystemModel *model, * then unrefs all the parent nodes. * * The reason for doing this operation as a callback - * is so that if the operation performed with the the - * path and iter results in referencing the the node + * is so that if the operation performed with the + * path and iter results in referencing the node * and/or parent nodes, we don't load all the information * about the nodes. * diff --git a/gtk/gtkradioaction.c b/gtk/gtkradioaction.c index a607d16ec..ec761e176 100644 --- a/gtk/gtkradioaction.c +++ b/gtk/gtkradioaction.c @@ -440,7 +440,7 @@ gtk_radio_action_set_group (GtkRadioAction *action, * gtk_radio_action_get_current_value: * @action: a #GtkRadioAction * - * Obtains the value property of the the currently active member of + * Obtains the value property of the currently active member of * the group to which @action belongs. * * Return value: The value of the currently active group member diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c index 49f05b9f7..08b7721a8 100644 --- a/gtk/gtkrc.c +++ b/gtk/gtkrc.c @@ -2086,7 +2086,7 @@ gtk_rc_init_style (GtkRcContext *context, GSList *tmp_styles; GType rc_style_type = GTK_TYPE_RC_STYLE; - /* Find the the first style where the RC file specified engine "" {} + /* Find the first style where the RC file specified engine "" {} * or the first derived style and use that to create the * merged style. If we only have raw GtkRcStyles, use the first * style to create the merged style. diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 5582e9ed4..6afdc4f9f 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -9223,7 +9223,7 @@ gtk_tree_view_new_with_model (GtkTreeModel *model) * gtk_tree_view_get_model: * @tree_view: a #GtkTreeView * - * Returns the model the the #GtkTreeView is based on. Returns %NULL if the + * Returns the model the #GtkTreeView is based on. Returns %NULL if the * model is unset. * * Return value: A #GtkTreeModel, or %NULL if none is currently being used. @@ -9509,7 +9509,7 @@ gtk_tree_view_get_headers_visible (GtkTreeView *tree_view) * @tree_view: A #GtkTreeView. * @headers_visible: %TRUE if the headers are visible * - * Sets the the visibility state of the headers. + * Sets the visibility state of the headers. **/ void gtk_tree_view_set_headers_visible (GtkTreeView *tree_view, diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 12dee6808..fbb2a5d9a 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -3257,7 +3257,7 @@ destroy_accel_path (gpointer data) /** * gtk_widget_set_accel_path: * @widget: a #GtkWidget - * @accel_path: path used to look up the the accelerator + * @accel_path: path used to look up the accelerator * @accel_group: a #GtkAccelGroup. * * Given an accelerator group, @accel_group, and an accelerator path, diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 83cd6c1c8..bd58f3e7b 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -6670,7 +6670,7 @@ gtk_window_is_active (GtkWindow *window) * For real toplevel windows, this is identical to gtk_window_is_active(), * but for embedded windows, like #GtkPlug, the results will differ. * - * Return value: %TRUE if the the input focus is within this GtkWindow + * Return value: %TRUE if the input focus is within this GtkWindow * * Since: 2.4 **/ -- cgit v1.2.1