mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix warnings in nsNativeThemeGTK.cpp. b=378698 r+sr=roc
This commit is contained in:
parent
a515cf2e3a
commit
cee65f510a
@ -631,7 +631,7 @@ nsNativeThemeGTK::DrawWidgetBackground(nsIRenderingContext* aContext,
|
||||
|
||||
// translate everything so (0,0) is the top left of the drawingRect
|
||||
nsIRenderingContext::AutoPushTranslation
|
||||
translation(aContext, drawingRect.x, drawingRect.y);
|
||||
autoTranslation(aContext, drawingRect.x, drawingRect.y);
|
||||
|
||||
NS_ASSERTION(!IsWidgetTypeDisabled(mDisabledWidgetTypes, aWidgetType),
|
||||
"Trying to render an unsafe widget!");
|
||||
@ -683,7 +683,7 @@ nsNativeThemeGTK::DrawWidgetBackground(nsIRenderingContext* aContext,
|
||||
if (gLastXError) {
|
||||
#ifdef DEBUG
|
||||
printf("GTK theme failed for widget type %d, error was %d, state was "
|
||||
"[active=%d,focused=%d,inHover=%d,disabled=%Id]\n",
|
||||
"[active=%d,focused=%d,inHover=%d,disabled=%d]\n",
|
||||
aWidgetType, gLastXError, state.active, state.focused,
|
||||
state.inHover, state.disabled);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user