malcontent-control: Use HdyWindow and HdyHeaderBar

This commit is contained in:
Christopher Davis 2021-02-08 03:27:59 -08:00 committed by Georges Basile Stavracas Neto
parent f11d91da3a
commit d80ed10592
3 changed files with 265 additions and 255 deletions

View file

@ -27,6 +27,7 @@
#include <glib/gi18n-lib.h>
#include <gio/gio.h>
#include <gtk/gtk.h>
#include <libhandy-1/handy.h>
#include <libmalcontent-ui/malcontent-ui.h>
#include <polkit/polkit.h>
@ -250,6 +251,8 @@ mct_application_startup (GApplication *application)
/* Chain up. */
G_APPLICATION_CLASS (mct_application_parent_class)->startup (application);
hdy_init ();
g_action_map_add_action_entries (G_ACTION_MAP (application), app_entries,
G_N_ELEMENTS (app_entries), application);