in-app-notification: compose with GtkBin instead of subclassing GtkRevealer
Note that the GtkOverlay must pass-through interactions for this to work, meaning it's no longer possible to interact with the notifications. I'm leaving it like this since I'll need to replace it with AdwToast later anyways. Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
@@ -31,7 +31,7 @@ G_BEGIN_DECLS
|
||||
|
||||
#define CALLS_TYPE_IN_APP_NOTIFICATION (calls_in_app_notification_get_type ())
|
||||
|
||||
G_DECLARE_FINAL_TYPE (CallsInAppNotification, calls_in_app_notification, CALLS, IN_APP_NOTIFICATION, GtkRevealer)
|
||||
G_DECLARE_FINAL_TYPE (CallsInAppNotification, calls_in_app_notification, CALLS, IN_APP_NOTIFICATION, GtkBin)
|
||||
|
||||
CallsInAppNotification * calls_in_app_notification_new (void);
|
||||
void calls_in_app_notification_show (CallsInAppNotification *self, const gchar *message);
|
||||
|
||||
Reference in New Issue
Block a user