diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-10-23 00:04:47 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-10-23 00:04:47 -0400 |
commit | 34be4de1ad9ff8e10791fab29e6ae6a7fd881e65 (patch) | |
tree | bd4427460fa4a96fe344a8aadc2086c29c2c1469 /gtk/gtkimage.c | |
parent | a8b5c04694df3977835ba349104d93f2f611a423 (diff) | |
download | gtk+-34be4de1ad9ff8e10791fab29e6ae6a7fd881e65.tar.gz |
image: Use the element name image
Set hte element name on the CSS node.
Diffstat (limited to 'gtk/gtkimage.c')
-rw-r--r-- | gtk/gtkimage.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c index 0fad746406..2e6330a06f 100644 --- a/gtk/gtkimage.c +++ b/gtk/gtkimage.c @@ -130,6 +130,10 @@ * allows you to convert an image into a C variable declaration, which * can then be loaded into a #GdkPixbuf using * gdk_pixbuf_new_from_inline(). + * + * # CSS nodes + * + * GtkImage has a single CSS node with the name image. */ @@ -386,6 +390,7 @@ gtk_image_class_init (GtkImageClass *class) g_object_class_install_properties (gobject_class, NUM_PROPERTIES, image_props); gtk_widget_class_set_accessible_type (widget_class, GTK_TYPE_IMAGE_ACCESSIBLE); + gtk_widget_class_set_css_name (widget_class, "image"); } static void |