diff options
author | GMT 1998 Tony Gale <gale@gtk.org> | 1998-12-10 17:31:04 +0000 |
---|---|---|
committer | Tony Gale <gale@src.gnome.org> | 1998-12-10 17:31:04 +0000 |
commit | 3821880398cc553882b9f1fc5905046518b9cd4e (patch) | |
tree | 88867e7f0ad2d19deeb5f850e920827b4232a6ef /examples/selection | |
parent | 600ef4e7d1b45dd4cd88606b6da402ffe2a885bf (diff) | |
download | gtk+-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/selection')
-rw-r--r-- | examples/selection/gettargets.c | 7 | ||||
-rw-r--r-- | examples/selection/setselection.c | 5 |
2 files changed, 5 insertions, 7 deletions
diff --git a/examples/selection/gettargets.c b/examples/selection/gettargets.c index 47f7adbb7c..433cab21ee 100644 --- a/examples/selection/gettargets.c +++ b/examples/selection/gettargets.c @@ -1,6 +1,4 @@ -/* This file extracted from the GTK tutorial. */ - -/* gettargets.c */ +/* example-start selection gettargets.c */ #include <gtk/gtk.h> @@ -14,7 +12,7 @@ get_targets (GtkWidget *widget, gpointer data) { static GdkAtom targets_atom = GDK_NONE; - /* Get the atom corresonding to the string "TARGETS" */ + /* Get the atom corresponding to the string "TARGETS" */ if (targets_atom == GDK_NONE) targets_atom = gdk_atom_intern ("TARGETS", FALSE); @@ -96,3 +94,4 @@ main (int argc, char *argv[]) return 0; } +/* example-end */ diff --git a/examples/selection/setselection.c b/examples/selection/setselection.c index c3e784b8ab..2f8532b10b 100644 --- a/examples/selection/setselection.c +++ b/examples/selection/setselection.c @@ -1,6 +1,4 @@ -/* This file extracted from the GTK tutorial. */ - -/* setselection.c */ +/* example-start selection setselection.c */ #include <gtk/gtk.h> #include <time.h> @@ -104,3 +102,4 @@ main (int argc, char *argv[]) return 0; } +/* example-end */ |