[gnome-builder/wip/gtk4-port] libide/gui: set devel css class in development builds
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] libide/gui: set devel css class in development builds
- Date: Wed, 30 Mar 2022 19:35:33 +0000 (UTC)
commit 37a93ca713c9fa74c171e1f8e1023e7c2fcee4c6
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]