Skip to content

Commit 30964ba

Browse files
xTiborawesomekling
authored andcommitted
LibGUI: Remove remaining G prefixes
1 parent 809490d commit 30964ba

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Libraries/LibGUI/Application.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class Application::TooltipWindow final : public Window {
112112
public:
113113
void set_tooltip(const StringView& tooltip)
114114
{
115-
// FIXME: Add some kind of GLabel auto-sizing feature.
115+
// FIXME: Add some kind of GUI::Label auto-sizing feature.
116116
int text_width = m_label->font().width(tooltip);
117117
set_rect(100, 100, text_width + 10, m_label->font().glyph_height() + 8);
118118
m_label->set_text(tooltip);

Libraries/LibGUI/InputBox.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void InputBox::build()
8484
m_cancel_button->set_preferred_size(0, 20);
8585
m_cancel_button->set_text("Cancel");
8686
m_cancel_button->on_click = [this] {
87-
dbgprintf("GInputBox: Cancel button clicked\n");
87+
dbgprintf("GUI::InputBox: Cancel button clicked\n");
8888
done(ExecCancel);
8989
};
9090

@@ -93,7 +93,7 @@ void InputBox::build()
9393
m_ok_button->set_preferred_size(0, 20);
9494
m_ok_button->set_text("OK");
9595
m_ok_button->on_click = [this] {
96-
dbgprintf("GInputBox: OK button clicked\n");
96+
dbgprintf("GUI::InputBox: OK button clicked\n");
9797
m_text_value = m_text_editor->text();
9898
done(ExecOK);
9999
};

Libraries/LibGUI/TextPosition.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class TextPosition {
6060
inline const LogStream& operator<<(const LogStream& stream, const TextPosition& value)
6161
{
6262
if (!value.is_valid())
63-
return stream << "GTextPosition(Invalid)";
63+
return stream << "GUI::TextPosition(Invalid)";
6464
return stream << String::format("(%zu,%zu)", value.line(), value.column());
6565
}
6666

Libraries/LibGUI/TextRange.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class TextRange {
8888
inline const LogStream& operator<<(const LogStream& stream, const TextRange& value)
8989
{
9090
if (!value.is_valid())
91-
return stream << "GTextRange(Invalid)";
91+
return stream << "GUI::TextRange(Invalid)";
9292
return stream << value.start() << '-' << value.end();
9393
}
9494

0 commit comments

Comments
 (0)