summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIkey Doherty <[email protected]>2017-06-20 22:07:16 +0100
committermonsta <[email protected]>2017-06-30 23:25:03 +0300
commit71950df523c575922a2d83ba54a7009c10c3895b (patch)
treefe0ec91309b39f9ee1ac222e61759382a868a940 /src
parent85a43df0d3943c9fe2db32fc9578da1a4e743b63 (diff)
downloadmarco-71950df523c575922a2d83ba54a7009c10c3895b.tar.bz2
marco-71950df523c575922a2d83ba54a7009c10c3895b.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;
}