[Terminal] Get ready for integration with TildaWindow
[tilda-gobject.git] / tilda-terminal.c
index 26a18b3..b074d78 100644 (file)
@@ -37,6 +37,8 @@ tilda_terminal_instance_init (GTypeInstance *instance,
         * NOTE: any constructor-time values will be set later. */
        self->dispose_has_run = FALSE;
        self->number = 0;
+
+       self->vte_term = vte_terminal_new ();
 }
 
 static void
@@ -381,6 +383,7 @@ int main (int argc, char *argv[])
 
        /* Initialize the GObject type system */
        g_type_init ();
+       gtk_init (&argc, &argv);
 
        tt = g_object_new (TILDA_TYPE_TERMINAL, "number", 10, NULL);
        g_object_get (G_OBJECT (tt), "number", &test_number, NULL);