[gnome-builder/wip/gtk4-port: 179/736] libide/gui: ensure animation is available




commit f77581b0aa35233fc69a79fea55f27ff46f6b6c7
Author: Christian Hergert <chergert redhat com>
Date:   Tue Mar 29 11:51:14 2022 -0700

    libide/gui: ensure animation is available
    
    We used this here before, and we can probably drop it later on, but I
    just need something to keep the animation from being dropped during link.

 src/libide/gui/ide-notifications-button.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/gui/ide-notifications-button.c b/src/libide/gui/ide-notifications-button.c
index 815ae8b49..e937a7ef5 100644
--- a/src/libide/gui/ide-notifications-button.c
+++ b/src/libide/gui/ide-notifications-button.c
@@ -22,8 +22,9 @@
 
 #include "config.h"
 
-#include "ide-notifications-button.h"
+#include <libide-gtk.h>
 
+#include "ide-notifications-button.h"
 #include "ide-notification-list-box-row-private.h"
 #include "ide-gui-global.h"
 
@@ -230,6 +231,8 @@ ide_notifications_button_class_init (IdeNotificationsButtonClass *klass)
   gtk_widget_class_bind_template_child (widget_class, IdeNotificationsButton, revealer);
   gtk_widget_class_bind_template_child (widget_class, IdeNotificationsButton, stack);
   gtk_widget_class_bind_template_callback (widget_class, ide_notifications_button_row_activated);
+
+  g_type_ensure (IDE_TYPE_ANIMATION);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]