Bug 1621258 [Wayland] Don't print 'Missing GtkWidget' warning, r=jhorak

Differential Revision: https://phabricator.services.mozilla.com/D66221

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Martin Stransky 2020-03-10 16:39:24 +00:00
Родитель f244880cfa
Коммит 9f5f941f67
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -760,7 +760,6 @@ GtkWidget* GetWidget(WidgetNodeType aAppearance) {
// Some widgets (MOZ_GTK_COMBOBOX_SEPARATOR for instance) may not be
// available or implemented.
if (!widget) {
NS_WARNING(nsPrintfCString("Missing GtkWidget %d\n", aAppearance).get());
return nullptr;
}
// In GTK versions prior to 3.18, automatic invalidation of style contexts