summaryrefslogtreecommitdiff
path: root/examples/aspectframe
diff options
context:
space:
mode:
authorGMT 1998 Tony Gale <gale@gtk.org>1998-12-10 17:31:04 +0000
committerTony Gale <gale@src.gnome.org>1998-12-10 17:31:04 +0000
commit3821880398cc553882b9f1fc5905046518b9cd4e (patch)
tree88867e7f0ad2d19deeb5f850e920827b4232a6ef /examples/aspectframe
parent600ef4e7d1b45dd4cd88606b6da402ffe2a885bf (diff)
downloadgtk+-3821880398cc553882b9f1fc5905046518b9cd4e.tar.gz
- re-write the GtkProgressBar section to the 1.1 API. - add an Appendix
Thu Dec 10 17:58:49 GMT 1998 Tony Gale <gale@gtk.org> * 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
Diffstat (limited to 'examples/aspectframe')
-rw-r--r--examples/aspectframe/aspectframe.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/aspectframe/aspectframe.c b/examples/aspectframe/aspectframe.c
index 0376bf92b9..f82e0276a0 100644
--- a/examples/aspectframe/aspectframe.c
+++ b/examples/aspectframe/aspectframe.c
@@ -1,4 +1,4 @@
-/* aspectframe.c */
+/* example-start aspectframe aspectframe.c */
#include <gtk/gtk.h>
@@ -13,7 +13,7 @@ main (int argc, char *argv[])
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_title (GTK_WINDOW (window), "Aspect Frame");
gtk_signal_connect (GTK_OBJECT (window), "destroy",
- GTK_SIGNAL_FUNC (gtk_main_quit), NULL);
+ GTK_SIGNAL_FUNC (gtk_main_quit), NULL);
gtk_container_border_width (GTK_CONTAINER (window), 10);
/* Create an aspect_frame and add it to our toplevel window */
@@ -41,3 +41,4 @@ main (int argc, char *argv[])
gtk_main ();
return 0;
}
+/* example-end */