GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 1934d342 authored by Matthias Clasen's avatar Matthias Clasen

Fix a typo

svn path=/trunk/; revision=21877
parent 2e22288e
2008-12-13 Matthias Clasen <mclasen@redhat.com>
Bug 563835 – Typo in gtk_widget_has_screen() docs
* gdk/directfb/gdkwindow-directfb.c:
* gdk/gdkwindow.c:
* gdk/x11/gdkwindow-x11.c:
* gtk/gtkmenushell.c:
* gtk/gtkwidget.c:
* gtk/tests/builder.c:
* tests/testdnd.c: s/heirarchy/hierarchy/ in docs and comments.
Pointed out by Wouter Bolsterlee
2008-12-12 Matthias Clasen <mclasen@redhat.com> 2008-12-12 Matthias Clasen <mclasen@redhat.com>
Bug 564066 – Crash in gtk_rc_parse_default_files Bug 564066 – Crash in gtk_rc_parse_default_files
......
...@@ -660,7 +660,7 @@ _gdk_window_new (GdkWindow *parent, ...@@ -660,7 +660,7 @@ _gdk_window_new (GdkWindow *parent,
void void
_gdk_windowing_window_destroy_foreign (GdkWindow *window) _gdk_windowing_window_destroy_foreign (GdkWindow *window)
{ {
/* It's somebody else's window, but in our heirarchy, /* It's somebody else's window, but in our hierarchy,
* so reparent it to the root window, and then send * so reparent it to the root window, and then send
* it a delete event, as if we were a WM * it a delete event, as if we were a WM
*/ */
......
...@@ -508,9 +508,9 @@ _gdk_window_destroy_hierarchy (GdkWindow *window, ...@@ -508,9 +508,9 @@ _gdk_window_destroy_hierarchy (GdkWindow *window,
{ {
/* Logically, it probably makes more sense to send /* Logically, it probably makes more sense to send
* a "destroy yourself" message to the foreign window * a "destroy yourself" message to the foreign window
* whether or not it's in our heirarchy; but for historical * whether or not it's in our hierarchy; but for historical
* reasons, we only send "destroy yourself" messages to * reasons, we only send "destroy yourself" messages to
* foreign windows in our heirarchy. * foreign windows in our hierarchy.
*/ */
if (private->parent) if (private->parent)
_gdk_windowing_window_destroy_foreign (window); _gdk_windowing_window_destroy_foreign (window);
......
...@@ -1170,7 +1170,7 @@ _gdk_windowing_window_destroy (GdkWindow *window, ...@@ -1170,7 +1170,7 @@ _gdk_windowing_window_destroy (GdkWindow *window,
void void
_gdk_windowing_window_destroy_foreign (GdkWindow *window) _gdk_windowing_window_destroy_foreign (GdkWindow *window)
{ {
/* It's somebody else's window, but in our heirarchy, /* It's somebody else's window, but in our hierarchy,
* so reparent it to the root window, and then send * so reparent it to the root window, and then send
* it a delete event, as if we were a WM * it a delete event, as if we were a WM
*/ */
......
...@@ -83,7 +83,7 @@ enum { ...@@ -83,7 +83,7 @@ enum {
* *
* There is also is a concept of the current menu and a current * There is also is a concept of the current menu and a current
* menu item. The current menu item is the selected menu item * menu item. The current menu item is the selected menu item
* that is furthest down in the heirarchy. (Every active menu_shell * that is furthest down in the hierarchy. (Every active menu_shell
* does not necessarily contain a selected menu item, but if * does not necessarily contain a selected menu item, but if
* it does, then menu_shell->parent_menu_shell must also contain * it does, then menu_shell->parent_menu_shell must also contain
* a selected menu item. The current menu is the menu that * a selected menu item. The current menu is the menu that
......
...@@ -6241,8 +6241,7 @@ gtk_widget_propagate_screen_changed_recurse (GtkWidget *widget, ...@@ -6241,8 +6241,7 @@ gtk_widget_propagate_screen_changed_recurse (GtkWidget *widget,
* *
* Please note that the semantics of this call will change * Please note that the semantics of this call will change
* in the future if used on a widget that has a composited * in the future if used on a widget that has a composited
* window in its heirarchy (as set by * window in its hierarchy (as set by gdk_window_set_composited()).
* gdk_window_set_composited()).
* *
* Return value: %TRUE if the widget can rely on its alpha * Return value: %TRUE if the widget can rely on its alpha
* channel being drawn correctly. * channel being drawn correctly.
...@@ -6741,7 +6740,7 @@ gtk_widget_get_screen (GtkWidget *widget) ...@@ -6741,7 +6740,7 @@ gtk_widget_get_screen (GtkWidget *widget)
* *
* Checks whether there is a #GdkScreen is associated with * Checks whether there is a #GdkScreen is associated with
* this widget. All toplevel widgets have an associated * this widget. All toplevel widgets have an associated
* screen, and all widgets added into a heirarchy with a toplevel * screen, and all widgets added into a hierarchy with a toplevel
* window at the top. * window at the top.
* *
* Return value: %TRUE if there is a #GdkScreen associcated * Return value: %TRUE if there is a #GdkScreen associcated
...@@ -6787,7 +6786,7 @@ gtk_widget_get_display (GtkWidget *widget) ...@@ -6787,7 +6786,7 @@ gtk_widget_get_display (GtkWidget *widget)
* *
* Get the root window where this widget is located. This function can * Get the root window where this widget is located. This function can
* only be called after the widget has been added to a widget * only be called after the widget has been added to a widget
* heirarchy with #GtkWindow at the top. * hierarchy with #GtkWindow at the top.
* *
* The root window is useful for such purposes as creating a popup * The root window is useful for such purposes as creating a popup
* #GdkWindow associated with the window. In general, you should only * #GdkWindow associated with the window. In general, you should only
......
...@@ -2410,7 +2410,7 @@ test_menus (void) ...@@ -2410,7 +2410,7 @@ test_menus (void)
g_assert (strcmp (GTK_ACCEL_LABEL (item_accel_label)->accel_string, g_assert (strcmp (GTK_ACCEL_LABEL (item_accel_label)->accel_string,
GTK_ACCEL_LABEL (sample_accel_label)->accel_string) == 0); GTK_ACCEL_LABEL (sample_accel_label)->accel_string) == 0);
/* Check the menu heirarchy worked here */ /* Check the menu hierarchy worked here */
g_assert (get_parent_menubar (item)); g_assert (get_parent_menubar (item));
gtk_widget_destroy (GTK_WIDGET (window)); gtk_widget_destroy (GTK_WIDGET (window));
......
...@@ -432,7 +432,7 @@ source_drag_data_get (GtkWidget *widget, ...@@ -432,7 +432,7 @@ source_drag_data_get (GtkWidget *widget,
} }
/* The following is a rather elaborate example demonstrating/testing /* The following is a rather elaborate example demonstrating/testing
* changing of the window heirarchy during a drag - in this case, * changing of the window hierarchy during a drag - in this case,
* via a "spring-loaded" popup window. * via a "spring-loaded" popup window.
*/ */
static GtkWidget *popup_window = NULL; static GtkWidget *popup_window = NULL;
......
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