summaryrefslogtreecommitdiff
path: root/src/ui/frames.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2019-07-30 11:36:15 +0300
committerraveit65 <[email protected]>2019-09-12 15:13:45 +0200
commit529e6c090d11524a2d9c45738e7aa9fc8a798c7a (patch)
tree787b05251bccc4fddb5e3ff0cf76576c82c54972 /src/ui/frames.c
parentf63d442d409a6e70c3765a86a2df9b00bd4ea250 (diff)
downloadmarco-529e6c090d11524a2d9c45738e7aa9fc8a798c7a.tar.bz2
marco-529e6c090d11524a2d9c45738e7aa9fc8a798c7a.tar.xz
frames: use style_updated instead of style_set
guess it was overlooked when porting to GTK+3
Diffstat (limited to 'src/ui/frames.c')
-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 011eef35..9824d520 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