views/month-cell: Inherit GtkWidget
AdwBreakpointBin, the parent, cannot set focus to itself. Instead of focusing GtkOverlay, a child widget, we should instead inherit GtkWidget to allow focusing that instead. Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
This commit is contained in:
@@ -27,7 +27,7 @@ G_BEGIN_DECLS
|
||||
|
||||
#define GCAL_TYPE_MONTH_CELL (gcal_month_cell_get_type())
|
||||
|
||||
G_DECLARE_FINAL_TYPE (GcalMonthCell, gcal_month_cell, GCAL, MONTH_CELL, AdwBreakpointBin)
|
||||
G_DECLARE_FINAL_TYPE (GcalMonthCell, gcal_month_cell, GCAL, MONTH_CELL, GtkWidget)
|
||||
|
||||
GtkWidget* gcal_month_cell_new (void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user