summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebarshi Ray <debarshir@gnome.org>2017-01-27 14:55:39 +0100
committerDebarshi Ray <debarshir@gnome.org>2017-01-27 14:55:39 +0100
commitf7424f67689d47c332137b9305ff850be2340dbb (patch)
tree7ddf9ccb2b187f2451e0e73b17e9d0f943afcab5
parentbe0a96b043e57339c88bbf5dd0d98aca44d5d8f5 (diff)
downloadlibgd-f7424f67689d47c332137b9305ff850be2340dbb.tar.gz
main-icon-box-child: Use the content-tile style class for theming
-rw-r--r--libgd/gd-main-icon-box-child.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgd/gd-main-icon-box-child.c b/libgd/gd-main-icon-box-child.c
index 523192e..84a1958 100644
--- a/libgd/gd-main-icon-box-child.c
+++ b/libgd/gd-main-icon-box-child.c
@@ -344,6 +344,10 @@ gd_main_icon_box_child_set_property (GObject *object, guint property_id, const G
static void
gd_main_icon_box_child_init (GdMainIconBoxChild *self)
{
+ GtkStyleContext *context;
+
+ context = gtk_widget_get_style_context (GTK_WIDGET (self));
+ gtk_style_context_add_class (context, "content-tile");
}
static void