From 3821880398cc553882b9f1fc5905046518b9cd4e Mon Sep 17 00:00:00 2001 From: GMT 1998 Tony Gale Date: Thu, 10 Dec 1998 17:31:04 +0000 Subject: - re-write the GtkProgressBar section to the 1.1 API. - add an Appendix Thu Dec 10 17:58:49 GMT 1998 Tony Gale * docs/gtk_tut.sgml: - re-write the GtkProgressBar section to the 1.1 API. - add an Appendix listing all the signals (apologies to TimJ for taking so long in using his hard work in automating the extraction - thanx Tim). * examples/*: bring them all upto the tutorial versions --- examples/pixmap/pixmap.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'examples/pixmap/pixmap.c') diff --git a/examples/pixmap/pixmap.c b/examples/pixmap/pixmap.c index 48f1d4410c..6e0607a2a0 100644 --- a/examples/pixmap/pixmap.c +++ b/examples/pixmap/pixmap.c @@ -1,6 +1,4 @@ -/* This file extracted from the GTK tutorial. */ - -/* pixmap.c */ +/* example-start pixmap pixmap.c */ #include @@ -31,8 +29,7 @@ static const char * xpm_data[] = { /* when invoked (via signal delete_event), terminates the application. */ -void close_application( GtkWidget *widget, GdkEvent *event, gpointer data ) -{ +void close_application( GtkWidget *widget, GdkEvent *event, gpointer data ) { gtk_main_quit(); } @@ -84,3 +81,4 @@ int main( int argc, char *argv[] ) return 0; } +/* example-end */ -- cgit v1.2.1