[gnome-builder/wip/gtk4-port: 180/343] libide/gui: set devel css class in development builds




commit 9cc5fdfef1d06f3ec7d8e878eee7f8abd88b4c53
Author: Christian Hergert <chergert redhat com>
Date:   Wed Mar 30 12:35:28 2022 -0700

    libide/gui: set devel css class in development builds

 src/libide/gui/ide-workspace.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/libide/gui/ide-workspace.c b/src/libide/gui/ide-workspace.c
index 33dee41fe..b7075beee 100644
--- a/src/libide/gui/ide-workspace.c
+++ b/src/libide/gui/ide-workspace.c
@@ -423,6 +423,10 @@ ide_workspace_init (IdeWorkspace *self)
   IdeWorkspacePrivate *priv = ide_workspace_get_instance_private (self);
   g_autofree gchar *app_id = NULL;
 
+#ifdef DEVELOPMENT_BUILD
+  gtk_widget_add_css_class (GTK_WIDGET (self), "devel");
+#endif
+
   priv->mru_link.data = self;
 
   /* Add org-gnome-Builder style CSS identifier */


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