diff options
author | Florian Müllner <fmuellner@gnome.org> | 2012-03-10 21:28:13 +0100 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2014-10-08 18:56:59 +0300 |
commit | e4fde7b0c02cf5e90cf17b3e99f13bd9ffad7584 (patch) | |
tree | 52158bba719fb7c4e6d2f6a310311f48e5b8519c | |
parent | e35be641fcb2f931ba50937e258ce8e02a350281 (diff) | |
download | metacity-e4fde7b0c02cf5e90cf17b3e99f13bd9ffad7584.tar.gz |
frames: Explicitly initialize style contexts
We were relying on GTK+ emitting GtkWidget::style-updated during
widget initialization to create the GtkStyleContexts used for
window decorations. A recent GTK+ update broke this assumption,
so do the necessary initialization ourselves.
https://bugzilla.gnome.org/show_bug.cgi?id=671796
-rw-r--r-- | src/ui/frames.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/frames.c b/src/ui/frames.c index 42cfd578..f73fe430 100644 --- a/src/ui/frames.c +++ b/src/ui/frames.c @@ -272,6 +272,7 @@ meta_frames_init (MetaFrames *frames) frames->style_variants = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_object_unref); + update_style_contexts (frames); meta_prefs_add_listener (prefs_changed_callback, frames); } |