Skip to content

Commit

Permalink
feat: always call gtk_window_set_title in yaru_window_set_title
Browse files Browse the repository at this point in the history
  • Loading branch information
d-loose committed Dec 15, 2023
1 parent 5697fc1 commit f92fff8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/yaru_window_linux/linux/yaru_window.cc
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,8 @@ void yaru_window_set_title(GtkWindow* window, const gchar* title) {
GtkWidget* titlebar = find_header_bar(window);
if (titlebar != nullptr) {
g_object_set(titlebar, "title", title, nullptr);
} else {
gtk_window_set_title(window, title);
}
gtk_window_set_title(window, title);
}

void yaru_window_hide_title(GtkWindow* window) {
Expand Down

0 comments on commit f92fff8

Please sign in to comment.