From b1fa86962a0a264cb0f1d05212fa855474a2350a Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Tue, 20 Jun 2017 22:07:16 +0100 Subject: ui: Fix invalid object construction in frames This legacy construct was carried over from the gtk2/gtk3 port, and attempts to initialise MetaFrames with a GtkWindow `type` property. This property doesn't actually exist, and will cause marco to completely crash when running with `MARCO_DEBUG=1` for local build testing. Signed-off-by: Ikey Doherty --- src/ui/frames.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ui/frames.c b/src/ui/frames.c index e87e13a8..889f739d 100644 --- a/src/ui/frames.c +++ b/src/ui/frames.c @@ -118,10 +118,6 @@ meta_frames_constructor (GType gtype, gobject_class = G_OBJECT_CLASS (meta_frames_parent_class); object = gobject_class->constructor (gtype, n_properties, properties); - g_object_set (object, - "type", GTK_WINDOW_POPUP, - NULL); - return object; } -- cgit v1.2.1