Skip to content
This repository has been archived by the owner on May 29, 2018. It is now read-only.

Theme parsing warnings #350

Open
Narrat opened this issue May 14, 2016 · 3 comments
Open

Theme parsing warnings #350

Narrat opened this issue May 14, 2016 · 3 comments

Comments

@Narrat
Copy link

Narrat commented May 14, 2016

With gtk-3.20.4 (Arch) and a paper theme based on 82503f8 I noticed the following warnings while running Meld from the console:

(meld:12775): Gtk-WARNING **: Theme parsing error: gtk.css:90:25: The style property GtkPaned:handle-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(meld:12775): Gtk-WARNING **: Theme parsing error: gtk.css:3213:17: The 'icon-shadow' property has been renamed to '-gtk-icon-shadow'

(meld:12775): Gtk-WARNING **: Theme parsing error: gtk.css:6297:16: The 'outline-radius' property has been renamed to '-gtk-outline-radius'

(meld:12775): Gtk-WARNING **: Theme parsing error: gtk.css:6320:52: The :prelight pseudo-class is deprecated. Use :hover instead.

(meld:12775): Gtk-WARNING **: Allocating size to GtkToggleToolButton 0x92b0728 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

Although the last message is propably irrelevant as it looks like an error from meld, the warnings regarding the theme parsing seem to be valid.

@Defman21
Copy link
Contributor

Don't worry about them.

@JoeyCorleone
Copy link

Hi,

the above mentioned warnings are still present in 2.1+r264~daily~ubuntu16.04.1.

I know there is no hurry in fixing them, just wanted to add the warning for the '-gtk-image-effect' property and mention the dark theme.

gtk.css + gtk-dark.css:

  • The :prelight pseudo-class is deprecated. Use :hover instead.
  • The 'icon-shadow' property has been renamed to '-gtk-icon-shadow'
  • The 'outline-radius' property has been renamed to '-gtk-outline-radius'
  • The '-gtk-image-effect' property has been renamed to '-gtk-icon-effect'

gtk-dark.css:

  • The style property GtkPaned:handle-size is deprecated and shouldn't be used anymore. It will be removed in a future version`

@ghost
Copy link

ghost commented Sep 15, 2016

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants