summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2019-07-30 11:36:15 +0300
committerRobert Antoni Buj Gelonch <[email protected]>2019-08-10 18:15:27 +0200
commit84433d9d5ed39a85144128e675474bc07eb2bb1e (patch)
tree23f5dca76fdc740d8a27fab6eb22e9acfd8f18ca /src
parente40111206094aa69f6a94fa575cce316bbf8c470 (diff)
downloadmarco-84433d9d5ed39a85144128e675474bc07eb2bb1e.tar.bz2
marco-84433d9d5ed39a85144128e675474bc07eb2bb1e.tar.xz
frames: use style_updated instead of style_set
guess it was overlooked when porting to GTK+3
Diffstat (limited to 'src')
-rw-r--r--src/ui/frames.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/ui/frames.c b/src/ui/frames.c
index 554c2134..e0a70d1e 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -50,8 +50,7 @@ static void meta_frames_class_init (MetaFramesClass *klass);
static void meta_frames_init (MetaFrames *frames);
static void meta_frames_destroy (GtkWidget *object);
static void meta_frames_finalize (GObject *object);
-static void meta_frames_style_set (GtkWidget *widget,
- GtkStyle *prev_style);
+static void meta_frames_style_updated (GtkWidget *widget);
static void meta_frames_realize (GtkWidget *widget);
static void meta_frames_unrealize (GtkWidget *widget);
@@ -131,7 +130,7 @@ meta_frames_class_init (MetaFramesClass *class)
gobject_class->constructor = meta_frames_constructor;
gobject_class->finalize = meta_frames_finalize;
widget_class->destroy = meta_frames_destroy;
- widget_class->style_set = meta_frames_style_set;
+ widget_class->style_updated = meta_frames_style_updated;
widget_class->realize = meta_frames_realize;
widget_class->unrealize = meta_frames_unrealize;
@@ -483,8 +482,7 @@ reattach_style_func (gpointer key, gpointer value, gpointer data)
}
static void
-meta_frames_style_set (GtkWidget *widget,
- GtkStyle *prev_style)
+meta_frames_style_updated (GtkWidget *widget)
{
MetaFrames *frames;
@@ -496,7 +494,7 @@ meta_frames_style_set (GtkWidget *widget,
g_hash_table_foreach (frames->frames,
reattach_style_func, frames);
- GTK_WIDGET_CLASS (meta_frames_parent_class)->style_set (widget, prev_style);
+ GTK_WIDGET_CLASS (meta_frames_parent_class)->style_updated (widget);
}
static void