treewide: Subclass custom classes from GtkWidget

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
Anton Lazarev
2023-12-13 12:25:46 -08:00
parent bc90d6e64f
commit 4ed1bba0b8
15 changed files with 20 additions and 20 deletions

View File

@@ -27,7 +27,7 @@
#define DEFAULT_TIMEOUT_SECONDS 3
struct _CallsInAppNotification {
GtkBin parent_instance;
GtkWidget parent_instance;
GtkRevealer *revealer;
GtkLabel *label;
@@ -36,7 +36,7 @@ struct _CallsInAppNotification {
guint timeout_id;
};
G_DEFINE_TYPE (CallsInAppNotification, calls_in_app_notification, GTK_TYPE_BIN)
G_DEFINE_TYPE (CallsInAppNotification, calls_in_app_notification, GTK_TYPE_WIDGET)
enum {