panel-list: Port to GTK4

- Inherit AdwBin since GtkStack is a final class now
 - Replace GtkContainer APIs by their widget-specific ones
This commit is contained in:
Georges Basile Stavracas Neto 2021-10-19 20:59:49 -03:00
parent 15a67221a0
commit 521ea3a635
3 changed files with 150 additions and 163 deletions

View file

@ -37,7 +37,7 @@ typedef enum
#define CC_TYPE_PANEL_LIST (cc_panel_list_get_type())
G_DECLARE_FINAL_TYPE (CcPanelList, cc_panel_list, CC, PANEL_LIST, GtkStack)
G_DECLARE_FINAL_TYPE (CcPanelList, cc_panel_list, CC, PANEL_LIST, AdwBin)
GtkWidget* cc_panel_list_new (void);