[gtk+] Frame: Don’t advise adding .flat class in code



commit ce1098598d351a8b5140527832a46137db9a2691
Author: Daniel Boles <dboles src gnome org>
Date:   Sun May 14 11:46:34 2017 +0100

    Frame: Don’t advise adding .flat class in code
    
    https://bugzilla.gnome.org/show_bug.cgi?id=779653#c33
    and this is closer to what gtk-3-22 says anyway.

 gtk/gtkframe.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c
index 05b603d..7f1d885 100644
--- a/gtk/gtkframe.c
+++ b/gtk/gtkframe.c
@@ -80,8 +80,8 @@
  *
  * GtkFrame has a main CSS node with name frame. This node can be given the
  * style class .flat, which is used by themes to disable drawing of the border.
- * Another way to do this in code is to call gtk_frame_set_shadow_type() with
- * GTK_SHADOW_NONE to add the .flat class or any other shadow type to remove it.
+ * To do this from code, call gtk_frame_set_shadow_type() with %GTK_SHADOW_NONE
+ * to add the .flat class or any other shadow type to remove it.
  */
 
 struct _GtkFramePrivate


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