-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
common: Fix compilation warnings replace deprecated functions gtk_rc_get_theme_dir and gtk_rc_scanner_new #734
Conversation
766fb43
to
cfb5e77
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Builds and runs fine, themes are properly rendered in mate-appearance-properties, which I am presuming to be the main user of the theme tester. Current GTK theme properly applied to the control center itself.
We get these four runtime warnings from mate-appearance-properties (with the newer glib versions only) but they are shared with master, need to be fixed elsewhere in the code, and that can be a separate PR. Opened issue #735 for it:
(mate-appearance-properties:34711): GLib-GIO-CRITICAL **: 15:12:11.817: GFileInfo created without standard::type
(mate-appearance-properties:34711): GLib-GIO-CRITICAL **: 15:12:11.817: file ../gio/gfileinfo.c: line 1611 (g_file_info_get_file_type): should not be reached
(mate-appearance-properties:34711): GLib-GIO-CRITICAL **: 15:12:11.817: GFileInfo created without standard::type
(mate-appearance-properties:34711): GLib-GIO-CRITICAL **: 15:12:11.817: file ../gio/gfileinfo.c: line 1611 (g_file_info_get_file_type): should not be reached
No such key “theme”
gtkrc is for gtk-2.0 themes. See https://github.com/mate-desktop/mate-themes/tree/master/desktop-themes/BlueMenta/gtk-2.0 for example. So do we need this code with gtk-3.0 themes? |
cfb5e77
to
4184028
Compare
I know little about the theme, and I don't know how to add gtk3 support |
4184028
to
48739bf
Compare
48739bf
to
cfb5e77
Compare
…get_theme_dir and gtk_rc_scanner_new
cfb5e77
to
bf491e0
Compare
Opps, i did a force push by accidental but i was able to restore previous state. |
Correct me if i am wrong. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM,
m-a-p runs like before and deprecated warnings are gone.
No description provided.