13
0

Fix source typos (heirarchy->hierarchy)

This commit is contained in:
luz paz 2022-04-08 14:09:37 -04:00 committed by Robin Gareus
parent 5bf088e8d1
commit fb55878375
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
4 changed files with 9 additions and 9 deletions

View File

@ -104,7 +104,7 @@ ARDOUR_UI::key_event_handler (GdkEventKey* ev, Gtk::Window* event_window)
} }
static Gtkmm2ext::Bindings* static Gtkmm2ext::Bindings*
get_bindings_from_widget_heirarchy (GtkWidget** w) get_bindings_from_widget_hierarchy (GtkWidget** w)
{ {
void* p = NULL; void* p = NULL;
@ -198,7 +198,7 @@ ARDOUR_UI::key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey
while (focus) { while (focus) {
Gtkmm2ext::Bindings* focus_bindings = get_bindings_from_widget_heirarchy (&focus); Gtkmm2ext::Bindings* focus_bindings = get_bindings_from_widget_hierarchy (&focus);
if (focus_bindings) { if (focus_bindings) {
DEBUG_TRACE (DEBUG::Accelerators, string_compose ("\tusing widget (%3) bindings %1 @ %2 for this event\n", focus_bindings->name(), focus_bindings, gtk_widget_get_name (focus))); DEBUG_TRACE (DEBUG::Accelerators, string_compose ("\tusing widget (%3) bindings %1 @ %2 for this event\n", focus_bindings->name(), focus_bindings, gtk_widget_get_name (focus)));
@ -257,7 +257,7 @@ ARDOUR_UI::key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey
while (focus) { while (focus) {
Gtkmm2ext::Bindings* focus_bindings = get_bindings_from_widget_heirarchy (&focus); Gtkmm2ext::Bindings* focus_bindings = get_bindings_from_widget_hierarchy (&focus);
if (focus_bindings) { if (focus_bindings) {
DEBUG_TRACE (DEBUG::Accelerators, string_compose ("\tusing widget (%3) bindings %1 @ %2 for this event\n", focus_bindings->name(), focus_bindings, gtk_widget_get_name (focus))); DEBUG_TRACE (DEBUG::Accelerators, string_compose ("\tusing widget (%3) bindings %1 @ %2 for this event\n", focus_bindings->name(), focus_bindings, gtk_widget_get_name (focus)));

View File

@ -697,7 +697,7 @@ GtkCanvas::deliver_enter_leave (Duple const & point, int state)
if (_current_item) { if (_current_item) {
/* no current item, so also send virtual leave events to the /* no current item, so also send virtual leave events to the
* entire heirarchy for the current item * entire hierarchy for the current item
*/ */
for (i = _current_item->parent(); i ; i = i->parent()) { for (i = _current_item->parent(); i ; i = i->parent()) {
@ -710,7 +710,7 @@ GtkCanvas::deliver_enter_leave (Duple const & point, int state)
enter_detail = GDK_NOTIFY_UNKNOWN; enter_detail = GDK_NOTIFY_UNKNOWN;
/* no current item, so also send virtual enter events to the /* no current item, so also send virtual enter events to the
* entire heirarchy for the new item * entire hierarchy for the new item
*/ */
for (i = _new_current_item->parent(); i ; i = i->parent()) { for (i = _new_current_item->parent(); i ; i = i->parent()) {
@ -723,7 +723,7 @@ GtkCanvas::deliver_enter_leave (Duple const & point, int state)
* inferior ("child") of _new_current_item") * inferior ("child") of _new_current_item")
* *
* Deliver "virtual" leave notifications to all items in the * Deliver "virtual" leave notifications to all items in the
* heirarchy between current and new_current. * hierarchy between current and new_current.
*/ */
for (i = _current_item->parent(); i && i != _new_current_item; i = i->parent()) { for (i = _current_item->parent(); i && i != _new_current_item; i = i->parent()) {
@ -738,7 +738,7 @@ GtkCanvas::deliver_enter_leave (Duple const & point, int state)
* an inferior ("child") of _current_item") * an inferior ("child") of _current_item")
* *
* Deliver "virtual" enter notifications to all items in the * Deliver "virtual" enter notifications to all items in the
* heirarchy between current and new_current. * hierarchy between current and new_current.
*/ */
for (i = _new_current_item->parent(); i && i != _current_item; i = i->parent()) { for (i = _new_current_item->parent(); i && i != _current_item; i = i->parent()) {

View File

@ -389,7 +389,7 @@ UI::set_tip (Widget *w, const gchar *tip, const gchar *hlp)
} }
if (action) { if (action) {
/* get_bindings_from_widget_heirarchy */ /* get_bindings_from_widget_hierarchy */
Widget* ww = w; Widget* ww = w;
Bindings* bindings = NULL; Bindings* bindings = NULL;
do { do {

View File

@ -49,7 +49,7 @@ Transmitter::Transmitter (Channel c)
case Throw: case Throw:
/* we should never call Transmitter::deliver /* we should never call Transmitter::deliver
for thrown messages (because its overridden in the for thrown messages (because its overridden in the
class heirarchy). force a segv if we do. class hierarchy). force a segv if we do.
*/ */
send = 0; send = 0;
break; break;