summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@src.gnome.org>2003-02-13 06:47:43 +0000
committerNalin Dahyabhai <nalin@src.gnome.org>2003-02-13 06:47:43 +0000
commit4573fbc770b2d166a87902b6c8f9695e4b584ad6 (patch)
treec2c23eaa21c84409eeea291a9ce4614c9b451857 /src
parent287183d6d40af627892a04247eef971ba06191d9 (diff)
connect to accessible signals before they can be emitted so that we always
* src/reflect.c(main): connect to accessible signals before they can be emitted so that we always have a clear picture of what's going on.
Diffstat (limited to 'src')
-rw-r--r--src/reflect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reflect.c b/src/reflect.c
index db3af99..d432839 100644
--- a/src/reflect.c
+++ b/src/reflect.c
@@ -377,8 +377,6 @@ main(int argc, char **argv)
gtk_container_add(GTK_CONTAINER(window), pane);
gtk_widget_show(pane);
- terminal_shell(terminal);
-
obj = gtk_widget_get_accessible(terminal);
g_assert(obj != NULL);
g_signal_connect(G_OBJECT(obj), "text-changed::insert",
@@ -388,6 +386,8 @@ main(int argc, char **argv)
g_signal_connect(G_OBJECT(obj), "text-caret-moved",
G_CALLBACK(text_caret_moved), label);
+ terminal_shell(terminal);
+
gtk_window_set_default_size(GTK_WINDOW(window), 600, 450);
gtk_widget_show(window);