mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
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:
parent
3edb79bbd9
commit
5b9122d07b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user