Commit ebb0afbd authored by Christian Hergert's avatar Christian Hergert
Browse files

editor-frame: remove unnecessary cast checks

parent ffd6c3b2
......@@ -1052,14 +1052,16 @@ static void
gb_editor_frame_constructed (GObject *object)
GbSourceChangeMonitor *monitor = NULL;
GbEditorFramePrivate *priv = GB_EDITOR_FRAME (object)->priv;
GbEditorFramePrivate *priv;
GtkSourceGutter *gutter;
GbEditorFrame *frame = GB_EDITOR_FRAME (object);
GbEditorFrame *frame = (GbEditorFrame *)object;
GbSourceVim *vim;
GSettings *settings;
G_OBJECT_CLASS (gb_editor_frame_parent_class)->constructed (object);
priv = frame->priv;
settings = g_settings_new ("org.gnome.builder.editor");
if (priv->document)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment