[gtk/matthiasc/for-master: 5/6] print-editor: Set the devel style class



commit 6502d3669fed646f47ef3e255146679802bfe893
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jul 13 08:23:39 2020 -0400

    print-editor: Set the devel style class
    
    Lets clearly communicate that we're unstable.

 demos/print-editor/print-editor.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/demos/print-editor/print-editor.c b/demos/print-editor/print-editor.c
index e6353fa054..eda61a061d 100644
--- a/demos/print-editor/print-editor.c
+++ b/demos/print-editor/print-editor.c
@@ -781,6 +781,8 @@ activate (GApplication *app)
   gtk_application_window_set_show_menubar (GTK_APPLICATION_WINDOW (main_window), TRUE);
   update_title (GTK_WINDOW (main_window));
 
+  gtk_widget_add_css_class (main_window, "devel");
+
   box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
   gtk_window_set_child (GTK_WINDOW (main_window), box);
 


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