projects
/
tilda-gobject.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Terminal] Get ready for integration with TildaWindow
[tilda-gobject.git]
/
tilda-terminal.c
diff --git
a/tilda-terminal.c
b/tilda-terminal.c
index
26a18b3
..
b074d78
100644
(file)
--- a/
tilda-terminal.c
+++ b/
tilda-terminal.c
@@
-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;
* 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
}
static void
@@
-381,6
+383,7
@@
int main (int argc, char *argv[])
/* Initialize the GObject type system */
g_type_init ();
/* 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);
tt = g_object_new (TILDA_TYPE_TERMINAL, "number", 10, NULL);
g_object_get (G_OBJECT (tt), "number", &test_number, NULL);