user-controls: Inherit from AdwBin
GtkBin is no more, but libadwaita has a nice 1:1 replacement which is AdwBin.
This commit is contained in:
parent
e322d8cd98
commit
2d9b408a32
3 changed files with 4 additions and 4 deletions
|
@ -73,7 +73,7 @@ static const guint32 oars_disabled_age = (guint32) -1;
|
|||
*/
|
||||
struct _MctUserControls
|
||||
{
|
||||
GtkGrid parent_instance;
|
||||
AdwBin parent_instance;
|
||||
|
||||
GtkLabel *description_label;
|
||||
GMenu *age_menu;
|
||||
|
@ -138,7 +138,7 @@ static void on_permission_allowed_cb (GObject *obj,
|
|||
GParamSpec *pspec,
|
||||
gpointer user_data);
|
||||
|
||||
G_DEFINE_TYPE (MctUserControls, mct_user_controls, GTK_TYPE_BIN)
|
||||
G_DEFINE_TYPE (MctUserControls, mct_user_controls, ADW_TYPE_BIN)
|
||||
|
||||
typedef enum
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue