pycousin / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
GNU General Public License v2.0
0 stars 0 forks source link

Only use dark theme if gtk3 is being used #591

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

Fixes the startup warning:

(gnome-mplayer:20672): GLib-GObject-WARNING **: g_object_set_valist: object 
class `GtkSettings' has no property named `gtk-application-prefer-dark-theme'

when gnome-mplayer is using GTK+2

Diff attached.

Cheers,
David

Original issue reported on code.google.com by dco...@gmail.com on 23 Jan 2012 at 11:25

Attachments:

GoogleCodeExporter commented 8 years ago
Applied to SVN r2205

Original comment by kdeko...@gmail.com on 23 Jan 2012 at 12:20

GoogleCodeExporter commented 8 years ago
The "gtk_settings" declaration should also be inside #ifdef GTK3_ENABLED/#endif

Original comment by dco...@gmail.com on 24 Jan 2012 at 7:58

GoogleCodeExporter commented 8 years ago
fixed

Original comment by kdeko...@gmail.com on 24 Jan 2012 at 1:46