Bug 1262634 - Avoid undefined reference to moz_gtk_get_entry_min_height in builds specifying cairo-gtk2 toolkit. r=karlt

--HG--
extra : histedit_source : 160487a1e3dcfea56c38b88308fbff41724c33b7
This commit is contained in:
Bill Gianopoulos 2016-04-07 19:25:24 -04:00
parent 3edb79bbd9
commit 5b9122d07b

View File

@ -1591,12 +1591,14 @@ nsNativeThemeGTK::GetMinimumWidgetSize(nsPresContext* aPresContext,
aResult->height += border.top + border.bottom;
}
break;
#if (MOZ_WIDGET_GTK == 3)
case NS_THEME_NUMBER_INPUT:
case NS_THEME_TEXTFIELD:
{
moz_gtk_get_entry_min_height(&aResult->height);
}
break;
#endif
case NS_THEME_TOOLBAR_SEPARATOR:
{
gint separator_width;