treewide: Subclass custom classes from GtkWidget
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
#define CALLS_HISTORY_INCREASE_N_PAGES_THRESHOLD 2
|
||||
|
||||
struct _CallsHistoryBox {
|
||||
GtkBin parent_instance;
|
||||
GtkWidget parent_instance;
|
||||
|
||||
GtkStack *stack;
|
||||
GtkListBox *history;
|
||||
@@ -54,7 +54,7 @@ struct _CallsHistoryBox {
|
||||
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE (CallsHistoryBox, calls_history_box, GTK_TYPE_BIN);
|
||||
G_DEFINE_TYPE (CallsHistoryBox, calls_history_box, GTK_TYPE_WIDGET);
|
||||
|
||||
|
||||
enum {
|
||||
|
||||
Reference in New Issue
Block a user