summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIkey Doherty <[email protected]>2017-06-20 22:07:16 +0100
committerraveit65 <[email protected]>2017-06-27 13:21:19 +0200
commitb1fa86962a0a264cb0f1d05212fa855474a2350a (patch)
tree92c43139c7825d8f1f936425336c14e2d242e943 /src
parentc4530a4304d82051243a9faad9c194670d537c67 (diff)
downloadmarco-b1fa86962a0a264cb0f1d05212fa855474a2350a.tar.bz2
marco-b1fa86962a0a264cb0f1d05212fa855474a2350a.tar.xz
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/ui/frames.c4
1 files changed, 0 insertions, 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;
}