Commit aac6bce8 authored by Manish Singh's avatar Manish Singh
Browse files

fixes for gtk+ 1.1.9

-Yosh
parent 4ba1f042
Mon Dec 21 21:56:58 PST 1998 Manish Singh <yosh@gimp.org>
* fixed up ex for latest glib/gtk+
1998-11-21 Lauri Alanko <la@iki.fi>
* Added signal demarshallers. Currently they are generated for
......
Makefile
Makefile.in
.deps
ostream_s.c
ostream_t.h
ostream.h
ostream_p.h
ostream_i.h
file_ostream_s.c
file_ostream_t.h
file_ostream.h
file_ostream_p.h
file_ostream_i.h
foo
strtest
......@@ -5,7 +5,7 @@ GEN_CODE = ostream_s.c file_ostream_s.c
noinst_LIBRARIES = libgcgexample.a
noinst_PROGRAMS = strtest
CFLAGS = -g -Wall -W -I..
CFLAGS = -g -Wall -W -I.. @GLIB_CFLAGS@
SUFFIXES = .gc .gh
......
......@@ -11,7 +11,9 @@ void close_handler(Ostream* o, gpointer data){
}
int main(void){
Ostream* x = OSTREAM(file_ostream_open("foo"));
Ostream* x;
gtk_type_init();
x = OSTREAM(file_ostream_open("foo"));
ostream_connect_putstring(putstring_handler, "foo", x);
ostream_connect_close(close_handler, "foo", x);
ostream_putstring(x, "Whammo!\n");
......
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