summaryrefslogtreecommitdiffstats
path: root/widget
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-04-06 17:38:44 -0500
committertrav90 <travawine@protonmail.ch>2018-04-06 17:38:44 -0500
commit54465cc4acd53921f00339abd8fcbab4550bf090 (patch)
tree0a647e0a0fc646809bf2cb113edd7d5b910a163a /widget
parent2dba03fd2f864bd8020bd1502041fa67de8bf409 (diff)
downloadUXP-54465cc4acd53921f00339abd8fcbab4550bf090.tar
UXP-54465cc4acd53921f00339abd8fcbab4550bf090.tar.gz
UXP-54465cc4acd53921f00339abd8fcbab4550bf090.tar.lz
UXP-54465cc4acd53921f00339abd8fcbab4550bf090.tar.xz
UXP-54465cc4acd53921f00339abd8fcbab4550bf090.zip
Fix GTK3 build bustage
Diffstat (limited to 'widget')
-rw-r--r--widget/gtk/WidgetStyleCache.cpp2
-rw-r--r--widget/gtk/gtk3drawing.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/widget/gtk/WidgetStyleCache.cpp b/widget/gtk/WidgetStyleCache.cpp
index 301d93db3..f35a451aa 100644
--- a/widget/gtk/WidgetStyleCache.cpp
+++ b/widget/gtk/WidgetStyleCache.cpp
@@ -1035,7 +1035,7 @@ GetWidgetStyleInternal(WidgetNodeType aNodeType)
return GetWidgetStyleWithClass(MOZ_GTK_RADIOMENUITEM,
GTK_STYLE_CLASS_RADIO);
case MOZ_GTK_CHECKMENUITEM_INDICATOR:
-+ return GetWidgetStyleWithClass(MOZ_GTK_CHECKMENUITEM,
+ return GetWidgetStyleWithClass(MOZ_GTK_CHECKMENUITEM,
GTK_STYLE_CLASS_CHECK);
case MOZ_GTK_PROGRESS_TROUGH:
return GetWidgetStyleWithClass(MOZ_GTK_PROGRESSBAR,
diff --git a/widget/gtk/gtk3drawing.cpp b/widget/gtk/gtk3drawing.cpp
index 6b0f9cddc..c592fa51c 100644
--- a/widget/gtk/gtk3drawing.cpp
+++ b/widget/gtk/gtk3drawing.cpp
@@ -1029,8 +1029,7 @@ moz_gtk_treeview_expander_paint(cairo_t *cr, GdkRectangle* rect,
return MOZ_GTK_SUCCESS;
}
-/* See gtk_separator_draw() for reference.
-*/
+/* See gtk_separator_draw() for reference. */
static gint
moz_gtk_combo_box_paint(cairo_t *cr, GdkRectangle* rect,
GtkWidgetState* state,
@@ -1844,6 +1843,7 @@ moz_gtk_menu_item_paint(WidgetNodeType widget, cairo_t *cr, GdkRectangle* rect,
if (widget == MOZ_GTK_MENUBARITEM) {
gtk_style_context_add_class(style, GTK_STYLE_CLASS_MENUBAR);
}
+ }
x = rect->x;
y = rect->y;