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



commit e170f3fa174aa5be040511011738f455b8ebaacc
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]