summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-05-27 14:01:36 +0300
committerraveit65 <[email protected]>2017-06-16 15:43:02 +0200
commit5d5b84e38195d14f5a59e1c7fdb7a443aa33357e (patch)
tree7c2c15840e18dc4e4d2900b0525350581b11a562
parent457e9331e9d4fb082455ce505c3d3f4bfda9bc38 (diff)
downloadmate-control-center-5d5b84e38195d14f5a59e1c7fdb7a443aa33357e.tar.bz2
mate-control-center-5d5b84e38195d14f5a59e1c7fdb7a443aa33357e.tar.xz
libslab: make ThemedIcon use style_updated instead of style_set
makes icons in m-c-c shell properly react to icon theme change
-rw-r--r--libslab/themed-icon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libslab/themed-icon.c b/libslab/themed-icon.c
index b4259c4f..29c4a0cc 100644
--- a/libslab/themed-icon.c
+++ b/libslab/themed-icon.c
@@ -29,7 +29,7 @@ static void themed_icon_get_property (GObject *, guint, GValue *, GParamSpec *);
static void themed_icon_set_property (GObject *, guint, const GValue *, GParamSpec *);
static void themed_icon_show (GtkWidget *);
-static void themed_icon_style_set (GtkWidget *, GtkStyle *);
+static void themed_icon_style_updated (GtkWidget *);
enum
{
@@ -57,7 +57,7 @@ static void themed_icon_class_init (ThemedIconClass * themed_icon_class)
g_obj_class->finalize = themed_icon_finalize;
widget_class->show = themed_icon_show;
- widget_class->style_set = themed_icon_style_set;
+ widget_class->style_updated = themed_icon_style_updated;
g_type_class_add_private (themed_icon_class, sizeof (ThemedIconPrivate));
@@ -157,7 +157,7 @@ themed_icon_show (GtkWidget * widget)
}
static void
-themed_icon_style_set (GtkWidget * widget, GtkStyle * prev_style)
+themed_icon_style_updated (GtkWidget * widget)
{
ThemedIcon *icon = THEMED_ICON (widget);