project: Use gtk_window_present() to present windows

Instead of gtk_widget_show(). In practice, it's exactly the same,
but it'll make follow-up patches cleaner.
This commit is contained in:
Georges Basile Stavracas Neto 2022-07-08 15:51:14 -03:00
parent 360c5b0271
commit bb0865eb23
2 changed files with 2 additions and 2 deletions

View file

@ -228,7 +228,7 @@ mct_application_activate (GApplication *application)
user_selector_notify_user_cb (G_OBJECT (self->user_selector), NULL, self);
user_manager_notify_is_loaded_cb (G_OBJECT (self->user_manager), NULL, self);
gtk_widget_show (GTK_WIDGET (window));
gtk_window_present (GTK_WINDOW (window));
}
/* Bring the window to the front. */