我使用 (L)ubuntu Zesty。如果我调用evince myfile.pdf
,我会在应用程序启动之前收到一些警告:
(evince:11529): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:23:18: not a number
(evince:11529): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:23:18: Expected a string.
(evince:11529): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:815:10: not a number
(evince:11529): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:815:24: Using Pango syntax for the font: style property is deprecated; please use CSS syntax
(evince:11529): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1953:14: not a number
(evince:11529): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1953:14: Expected a string.
(evince:11529): Gtk-WARNING **: Theme parsing error: nautilus.css:50:71: Using one color stop with linear-gradient() is deprecated.
(evince:11529): Gtk-WARNING **: Theme parsing error: nautilus.css:51:71: Using one color stop with linear-gradient() is deprecated.
(evince:11529): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:252:14: not a number
(evince:11529): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:252:14: Expected a string.
(evince:11529): Gtk-WARNING **: Allocating size to EvSidebar 0x55d3ce38f6a0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
因此,对于最后一个错误,我猜它是无望的,因为我不会开始摆弄应用程序的代码。但我可以调整提到的 CSS 文件以避免警告吗?如果可以,怎么做?我不太明白这些警告。