projects
/
rodin
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added chimara_if_run() which, given a game file, autodetects the type by its extensio...
[rodin/chimara.git]
/
libchimara
/
strio.c
diff --git
a/libchimara/strio.c
b/libchimara/strio.c
index 4d410cdfbaa344c61cf772b841a506bda7ea7c7b..3153e3ee4c0b6282c0750e25541bb9a4d17e278e 100644
(file)
--- a/
libchimara/strio.c
+++ b/
libchimara/strio.c
@@
-80,6
+80,10
@@
write_utf8_to_window(winid_t win, gchar *s)
gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, s, -1, win->window_stream->style, NULL);
gdk_threads_leave();
gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, s, -1, win->window_stream->style, NULL);
gdk_threads_leave();
+
+ ChimaraGlk *glk = CHIMARA_GLK(gtk_widget_get_ancestor(win->widget, CHIMARA_TYPE_GLK));
+ g_assert(glk);
+ g_signal_emit_by_name(glk, "text-buffer-output", win->rock, s);
}
/* Internal function: write a Latin-1 buffer with length to a stream. */
}
/* Internal function: write a Latin-1 buffer with length to a stream. */