After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 688322 - Gtk.CssProvider.load_from_data() not working
Gtk.CssProvider.load_from_data() not working
Status: RESOLVED INVALID
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-11-14 15:43 UTC by Mohan R
Modified: 2015-02-07 17:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test.js demonstrates this bug (575 bytes, application/javascript)
2012-11-14 15:43 UTC, Mohan R
Details

Description Mohan R 2012-11-14 15:43:56 UTC
Created attachment 228974 [details]
test.js demonstrates this bug

Attached a javascript which tries to set background of a GtkWindow through CSS. It tries to load CSS information from a string using Gtk.CssProvider.load_from_data() function, but it is not working as expected.

I asked about this in javascript list (https://mail.gnome.org/archives/javascript-list/2012-November/msg00001.html) It seems to be a bug.
Comment 1 Mohan R 2012-11-30 05:01:13 UTC
Closing this bug. I got information which says this bug is not in introspection, but in Gtk+.
Comment 2 André Klapper 2015-02-07 17:00:06 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]