diff options
author | Federico Mena Quintero <federico@ximian.com> | 2004-03-06 03:38:59 +0000 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2004-03-06 03:38:59 +0000 |
commit | 80581c3011871fa000433a881554ffc1e9363468 (patch) | |
tree | 8b528a2413d95ba1c4831b7bf02a5b583924e438 /examples | |
parent | 7d94c90fca82c3543c5f860fc5e57cf36a966db8 (diff) | |
download | gtk+-80581c3011871fa000433a881554ffc1e9363468.tar.gz |
Fixes #136082 and #135265, patch by Morten Welinder.
2004-03-05 Federico Mena Quintero <federico@ximian.com>
Fixes #136082 and #135265, patch by Morten Welinder.
* configure.in: Use AC_SYS_LARGEFILE.
* */*.c: #include <config.h>
Diffstat (limited to 'examples')
42 files changed, 42 insertions, 0 deletions
diff --git a/examples/arrow/arrow.c b/examples/arrow/arrow.c index 7dfb74bebc..1ffca7d77a 100644 --- a/examples/arrow/arrow.c +++ b/examples/arrow/arrow.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> /* Create an Arrow widget with the specified parameters diff --git a/examples/aspectframe/aspectframe.c b/examples/aspectframe/aspectframe.c index f32da1b9d2..dcd3a56ced 100644 --- a/examples/aspectframe/aspectframe.c +++ b/examples/aspectframe/aspectframe.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> int main( int argc, diff --git a/examples/base/base.c b/examples/base/base.c index 4dc29da623..bb7addc32c 100644 --- a/examples/base/base.c +++ b/examples/base/base.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> int main( int argc, diff --git a/examples/buttonbox/buttonbox.c b/examples/buttonbox/buttonbox.c index c70700ac74..0bf0fcc91f 100644 --- a/examples/buttonbox/buttonbox.c +++ b/examples/buttonbox/buttonbox.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> /* Create a Button Box with the specified parameters */ diff --git a/examples/buttons/buttons.c b/examples/buttons/buttons.c index 922026346d..44190844b3 100644 --- a/examples/buttons/buttons.c +++ b/examples/buttons/buttons.c @@ -1,4 +1,5 @@ +#include <config.h> #include <stdlib.h> #include <gtk/gtk.h> diff --git a/examples/calendar/calendar.c b/examples/calendar/calendar.c index 87100e509e..b475563c4b 100644 --- a/examples/calendar/calendar.c +++ b/examples/calendar/calendar.c @@ -17,6 +17,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <config.h> #include <stdio.h> #include <string.h> #include <gtk/gtk.h> diff --git a/examples/clist/clist.c b/examples/clist/clist.c index 4b087606ca..6c52751c1a 100644 --- a/examples/clist/clist.c +++ b/examples/clist/clist.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> /* User clicked the "Add List" button. */ diff --git a/examples/colorsel/colorsel.c b/examples/colorsel/colorsel.c index a6a5669d16..94a9455cbe 100644 --- a/examples/colorsel/colorsel.c +++ b/examples/colorsel/colorsel.c @@ -1,4 +1,5 @@ +#include <config.h> #include <glib.h> #include <gdk/gdk.h> #include <gtk/gtk.h> diff --git a/examples/entry/entry.c b/examples/entry/entry.c index 32d35cdb49..10e559f73c 100644 --- a/examples/entry/entry.c +++ b/examples/entry/entry.c @@ -1,4 +1,5 @@ +#include <config.h> #include <stdio.h> #include <stdlib.h> #include <gtk/gtk.h> diff --git a/examples/eventbox/eventbox.c b/examples/eventbox/eventbox.c index ef56da93ea..45dfedb8c9 100644 --- a/examples/eventbox/eventbox.c +++ b/examples/eventbox/eventbox.c @@ -1,4 +1,5 @@ +#include <config.h> #include <stdlib.h> #include <gtk/gtk.h> diff --git a/examples/filesel/filesel.c b/examples/filesel/filesel.c index 8e26725ec5..85527fb304 100644 --- a/examples/filesel/filesel.c +++ b/examples/filesel/filesel.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> /* Get the selected filename and print it to the console */ diff --git a/examples/fixed/fixed.c b/examples/fixed/fixed.c index 3a58beeb53..42886ba764 100644 --- a/examples/fixed/fixed.c +++ b/examples/fixed/fixed.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> /* I'm going to be lazy and use some global variables to diff --git a/examples/frame/frame.c b/examples/frame/frame.c index 078fbdd672..141b63c047 100644 --- a/examples/frame/frame.c +++ b/examples/frame/frame.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> int main( int argc, diff --git a/examples/gtkdial/dial_test.c b/examples/gtkdial/dial_test.c index 3944c8b397..2dd66fe20b 100644 --- a/examples/gtkdial/dial_test.c +++ b/examples/gtkdial/dial_test.c @@ -1,4 +1,5 @@ +#include <config.h> #include <stdio.h> #include <stdlib.h> #include <gtk/gtk.h> diff --git a/examples/gtkdial/gtkdial.c b/examples/gtkdial/gtkdial.c index 402472d425..513c7595cf 100644 --- a/examples/gtkdial/gtkdial.c +++ b/examples/gtkdial/gtkdial.c @@ -17,6 +17,7 @@ * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ +#include <config.h> #include <math.h> #include <stdio.h> #include <gtk/gtkmain.h> diff --git a/examples/helloworld/helloworld.c b/examples/helloworld/helloworld.c index ad66be6e9b..8f81097592 100644 --- a/examples/helloworld/helloworld.c +++ b/examples/helloworld/helloworld.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> /* This is a callback function. The data arguments are ignored diff --git a/examples/helloworld2/helloworld2.c b/examples/helloworld2/helloworld2.c index 5f2b27ae27..3a8a1627e8 100644 --- a/examples/helloworld2/helloworld2.c +++ b/examples/helloworld2/helloworld2.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> /* Our new improved callback. The data passed to this function diff --git a/examples/label/label.c b/examples/label/label.c index 84281be27e..c56f1d5842 100644 --- a/examples/label/label.c +++ b/examples/label/label.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> int main( int argc, diff --git a/examples/list/list.c b/examples/list/list.c index 3180a4f0df..066d2cabab 100644 --- a/examples/list/list.c +++ b/examples/list/list.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> #include <stdio.h> diff --git a/examples/menu/itemfactory.c b/examples/menu/itemfactory.c index c3b308b35b..b456eee601 100644 --- a/examples/menu/itemfactory.c +++ b/examples/menu/itemfactory.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> /* Obligatory basic callback */ diff --git a/examples/menu/menu.c b/examples/menu/menu.c index 94271df94d..c90e9065ef 100644 --- a/examples/menu/menu.c +++ b/examples/menu/menu.c @@ -1,4 +1,5 @@ +#include <config.h> #include <stdio.h> #include <gtk/gtk.h> diff --git a/examples/notebook/notebook.c b/examples/notebook/notebook.c index 39deba1f75..439d5932ee 100644 --- a/examples/notebook/notebook.c +++ b/examples/notebook/notebook.c @@ -1,4 +1,5 @@ +#include <config.h> #include <stdio.h> #include <gtk/gtk.h> diff --git a/examples/packbox/packbox.c b/examples/packbox/packbox.c index ae5d9e3be6..8657ab5a28 100644 --- a/examples/packbox/packbox.c +++ b/examples/packbox/packbox.c @@ -1,4 +1,5 @@ +#include <config.h> #include <stdio.h> #include <stdlib.h> #include "gtk/gtk.h" diff --git a/examples/paned/paned.c b/examples/paned/paned.c index e28566b7f4..8c6da215a5 100644 --- a/examples/paned/paned.c +++ b/examples/paned/paned.c @@ -1,4 +1,5 @@ +#include <config.h> #include <stdio.h> #include <gtk/gtk.h> diff --git a/examples/pixmap/pixmap.c b/examples/pixmap/pixmap.c index af6a29024b..8339c73206 100644 --- a/examples/pixmap/pixmap.c +++ b/examples/pixmap/pixmap.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> diff --git a/examples/progressbar/progressbar.c b/examples/progressbar/progressbar.c index cec619ea5d..80228cfd56 100644 --- a/examples/progressbar/progressbar.c +++ b/examples/progressbar/progressbar.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> typedef struct _ProgressData { diff --git a/examples/radiobuttons/radiobuttons.c b/examples/radiobuttons/radiobuttons.c index b3fe809a66..ab5f09a551 100644 --- a/examples/radiobuttons/radiobuttons.c +++ b/examples/radiobuttons/radiobuttons.c @@ -1,4 +1,5 @@ +#include <config.h> #include <glib.h> #include <gtk/gtk.h> diff --git a/examples/rangewidgets/rangewidgets.c b/examples/rangewidgets/rangewidgets.c index be4b6cc092..dced1fb562 100644 --- a/examples/rangewidgets/rangewidgets.c +++ b/examples/rangewidgets/rangewidgets.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> GtkWidget *hscale, *vscale; diff --git a/examples/rulers/rulers.c b/examples/rulers/rulers.c index 720f9dd29f..9e53dd0cc6 100644 --- a/examples/rulers/rulers.c +++ b/examples/rulers/rulers.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> #define EVENT_METHOD(i, x) GTK_WIDGET_GET_CLASS(i)->x diff --git a/examples/scribble-simple/scribble-simple.c b/examples/scribble-simple/scribble-simple.c index 809a3675e6..69920269d8 100644 --- a/examples/scribble-simple/scribble-simple.c +++ b/examples/scribble-simple/scribble-simple.c @@ -18,6 +18,7 @@ * Boston, MA 02111-1307, USA. */ +#include <config.h> #include <stdlib.h> #include <gtk/gtk.h> diff --git a/examples/scribble-xinput/scribble-xinput.c b/examples/scribble-xinput/scribble-xinput.c index ed1b3d715d..784e1edd76 100644 --- a/examples/scribble-xinput/scribble-xinput.c +++ b/examples/scribble-xinput/scribble-xinput.c @@ -18,6 +18,7 @@ * Boston, MA 02111-1307, USA. */ +#include <config.h> #include <gtk/gtk.h> /* Backing pixmap for drawing area */ diff --git a/examples/scrolledwin/scrolledwin.c b/examples/scrolledwin/scrolledwin.c index be4c82d681..bdb1e4a125 100644 --- a/examples/scrolledwin/scrolledwin.c +++ b/examples/scrolledwin/scrolledwin.c @@ -1,4 +1,5 @@ +#include <config.h> #include <stdio.h> #include <gtk/gtk.h> diff --git a/examples/selection/gettargets.c b/examples/selection/gettargets.c index bfc44a0ee6..74b3fa65a0 100644 --- a/examples/selection/gettargets.c +++ b/examples/selection/gettargets.c @@ -1,4 +1,5 @@ +#include <config.h> #include <stdlib.h> #include <gtk/gtk.h> diff --git a/examples/selection/setselection.c b/examples/selection/setselection.c index 3dcb3a53b5..926e8e05a0 100644 --- a/examples/selection/setselection.c +++ b/examples/selection/setselection.c @@ -1,4 +1,5 @@ +#include <config.h> #include <stdlib.h> #include <gtk/gtk.h> #include <time.h> diff --git a/examples/spinbutton/spinbutton.c b/examples/spinbutton/spinbutton.c index ba54ed8d36..fdeb7716e9 100644 --- a/examples/spinbutton/spinbutton.c +++ b/examples/spinbutton/spinbutton.c @@ -1,4 +1,5 @@ +#include <config.h> #include <stdio.h> #include <gtk/gtk.h> diff --git a/examples/statusbar/statusbar.c b/examples/statusbar/statusbar.c index a65039d2c5..44d9053bd6 100644 --- a/examples/statusbar/statusbar.c +++ b/examples/statusbar/statusbar.c @@ -1,4 +1,5 @@ +#include <config.h> #include <stdlib.h> #include <gtk/gtk.h> #include <glib.h> diff --git a/examples/table/table.c b/examples/table/table.c index 547f7c0093..a3159586a7 100644 --- a/examples/table/table.c +++ b/examples/table/table.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> /* Our callback. diff --git a/examples/text/text.c b/examples/text/text.c index fe2a0385f4..319bedfaa4 100644 --- a/examples/text/text.c +++ b/examples/text/text.c @@ -1,5 +1,6 @@ #define GTK_ENABLE_BROKEN +#include <config.h> #include <stdio.h> #include <gtk/gtk.h> diff --git a/examples/tictactoe/tictactoe.c b/examples/tictactoe/tictactoe.c index 271b3678aa..7ed00e564b 100644 --- a/examples/tictactoe/tictactoe.c +++ b/examples/tictactoe/tictactoe.c @@ -17,6 +17,7 @@ * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ +#include <config.h> #include <gtk/gtksignal.h> #include <gtk/gtktable.h> #include <gtk/gtktogglebutton.h> diff --git a/examples/tictactoe/ttt_test.c b/examples/tictactoe/ttt_test.c index 0f8a0f12e5..ad7517c940 100644 --- a/examples/tictactoe/ttt_test.c +++ b/examples/tictactoe/ttt_test.c @@ -1,4 +1,5 @@ +#include <config.h> #include <stdlib.h> #include <gtk/gtk.h> #include "tictactoe.h" diff --git a/examples/tree/tree.c b/examples/tree/tree.c index c17165cd58..ce2f45241b 100644 --- a/examples/tree/tree.c +++ b/examples/tree/tree.c @@ -1,5 +1,6 @@ #define GTK_ENABLE_BROKEN +#include <config.h> #include <gtk/gtk.h> /* for all the GtkItem:: and GtkTreeItem:: signals */ diff --git a/examples/wheelbarrow/wheelbarrow.c b/examples/wheelbarrow/wheelbarrow.c index 12d8395c0c..33da0a5b6a 100644 --- a/examples/wheelbarrow/wheelbarrow.c +++ b/examples/wheelbarrow/wheelbarrow.c @@ -1,4 +1,5 @@ +#include <config.h> #include <gtk/gtk.h> /* XPM */ |