[gnome-builder/wip/gtk4-port: 1493/1774] libide/gtk: add devel class to dialog
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1493/1774] libide/gtk: add devel class to dialog
- Date: Mon, 11 Jul 2022 22:31:47 +0000 (UTC)
commit 8d8edad73373a14f1348b32cfdbe3862f29ced67
Author: Christian Hergert <chergert redhat com>
Date: Tue Jun 14 00:47:53 2022 -0700
libide/gtk: add devel class to dialog
src/libide/gtk/ide-shortcut-accel-dialog.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/libide/gtk/ide-shortcut-accel-dialog.c b/src/libide/gtk/ide-shortcut-accel-dialog.c
index f553a436b..b0aeffc83 100644
--- a/src/libide/gtk/ide-shortcut-accel-dialog.c
+++ b/src/libide/gtk/ide-shortcut-accel-dialog.c
@@ -332,6 +332,10 @@ ide_shortcut_accel_dialog_init (IdeShortcutAccelDialog *self)
g_object_bind_property (self, "accelerator",
self->display_shortcut, "accelerator",
G_BINDING_SYNC_CREATE);
+
+#ifdef DEVELOPMENT_BUILD
+ gtk_widget_add_css_class (GTK_WIDGET (self), "devel");
+#endif
}
gchar *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]