
It could happen that gdk_screen_get_setting fails to retreive Gdk/WindowScalingFactor which leads to the following warnings when clutter_init is called: GLib-GObject-WARNING **: value "0" of type 'gint' is invalid or out of range for property 'window-scaling-factor' of type 'gint' GLib-GObject-WARNING **: value "0" of type 'gint' is invalid or out of range for property 'dnd-drag-threshold' of type 'gint' https://bugzilla.gnome.org/show_bug.cgi?id=749256 Slightly edited to fix up whitespace issues. Edited-by: Emmanuele Bassi <ebassi@gnome.org>