mirror of https://github.com/GNOME/gimp.git
parent
4ba1f0427c
commit
aac6bce8ad
|
@ -1,3 +1,7 @@
|
|||
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
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
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");
|
||||
|
|
Loading…
Reference in New Issue