summaryrefslogtreecommitdiffstats
path: root/widget/gtk/gtkdrawing.h
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-04-05 15:49:41 -0500
committertrav90 <travawine@protonmail.ch>2018-04-05 15:49:41 -0500
commitcf1b29fe4740e18a8aa0e2e35cba9dea524829ee (patch)
treec11357a763eaa8c2970eb3133d56beece0312fba /widget/gtk/gtkdrawing.h
parentfe4175e799cffb712a088221faeb1dffcdaea7bb (diff)
downloadUXP-cf1b29fe4740e18a8aa0e2e35cba9dea524829ee.tar
UXP-cf1b29fe4740e18a8aa0e2e35cba9dea524829ee.tar.gz
UXP-cf1b29fe4740e18a8aa0e2e35cba9dea524829ee.tar.lz
UXP-cf1b29fe4740e18a8aa0e2e35cba9dea524829ee.tar.xz
UXP-cf1b29fe4740e18a8aa0e2e35cba9dea524829ee.zip
[GTK] Rename radio/check menuitem and indicator as used with ClaimStyleContext.
The same name is retained for moz_gtk_widget_paint(), which is now more consistent.
Diffstat (limited to 'widget/gtk/gtkdrawing.h')
-rw-r--r--widget/gtk/gtkdrawing.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/widget/gtk/gtkdrawing.h b/widget/gtk/gtkdrawing.h
index 9bbfdefe9..1df8a10ff 100644
--- a/widget/gtk/gtkdrawing.h
+++ b/widget/gtk/gtkdrawing.h
@@ -211,10 +211,13 @@ typedef enum {
/* Paints items of popup menus. */
MOZ_GTK_MENUITEM,
MOZ_GTK_IMAGEMENUITEM,
- MOZ_GTK_CHECKMENUITEM_CONTAINER,
- MOZ_GTK_RADIOMENUITEM_CONTAINER,
+ /* Paints a menuitem with check indicator, or the gets the style context for
+ a menuitem that contains a checkbox. */
MOZ_GTK_CHECKMENUITEM,
+ /* Gets the style context for a checkbox in a check menuitem. */
+ MOZ_GTK_CHECKMENUITEM_INDICATOR,
MOZ_GTK_RADIOMENUITEM,
+ MOZ_GTK_RADIOMENUITEM_INDICATOR,
MOZ_GTK_MENUSEPARATOR,
/* GtkVPaned base class */
MOZ_GTK_SPLITTER_HORIZONTAL,