[gtk+/icon-shadow: 9/12] stylecontext: add an "image" style class



commit da6c85bc3cc8555b808646fd894445dfc40c29d3
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue May 24 21:29:20 2011 -0400

    stylecontext: add an "image" style class
    
    For images such as icons in GtkEntry widgets.

 gtk/gtkstylecontext.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index 5ed8400..444e1d2 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -401,6 +401,13 @@ struct _GtkStyleContextClass
 #define GTK_STYLE_CLASS_SIDEBAR "sidebar"
 
 /**
+ * GTK_STYLE_CLASS_IMAGE:
+ *
+ * A widget class defining an image, such as the icon in an entry.
+ */
+#define GTK_STYLE_CLASS_IMAGE "image"
+
+/**
  * GTK_STYLE_CLASS_HIGHLIGHT:
  *
  * A CSS class defining a highlighted area, such as headings in



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