summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2004-03-06 03:38:59 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2004-03-06 03:38:59 +0000
commit80581c3011871fa000433a881554ffc1e9363468 (patch)
tree8b528a2413d95ba1c4831b7bf02a5b583924e438 /examples
parent7d94c90fca82c3543c5f860fc5e57cf36a966db8 (diff)
downloadgdk-pixbuf-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')
-rw-r--r--examples/arrow/arrow.c1
-rw-r--r--examples/aspectframe/aspectframe.c1
-rw-r--r--examples/base/base.c1
-rw-r--r--examples/buttonbox/buttonbox.c1
-rw-r--r--examples/buttons/buttons.c1
-rw-r--r--examples/calendar/calendar.c1
-rw-r--r--examples/clist/clist.c1
-rw-r--r--examples/colorsel/colorsel.c1
-rw-r--r--examples/entry/entry.c1
-rw-r--r--examples/eventbox/eventbox.c1
-rw-r--r--examples/filesel/filesel.c1
-rw-r--r--examples/fixed/fixed.c1
-rw-r--r--examples/frame/frame.c1
-rw-r--r--examples/gtkdial/dial_test.c1
-rw-r--r--examples/gtkdial/gtkdial.c1
-rw-r--r--examples/helloworld/helloworld.c1
-rw-r--r--examples/helloworld2/helloworld2.c1
-rw-r--r--examples/label/label.c1
-rw-r--r--examples/list/list.c1
-rw-r--r--examples/menu/itemfactory.c1
-rw-r--r--examples/menu/menu.c1
-rw-r--r--examples/notebook/notebook.c1
-rw-r--r--examples/packbox/packbox.c1
-rw-r--r--examples/paned/paned.c1
-rw-r--r--examples/pixmap/pixmap.c1
-rw-r--r--examples/progressbar/progressbar.c1
-rw-r--r--examples/radiobuttons/radiobuttons.c1
-rw-r--r--examples/rangewidgets/rangewidgets.c1
-rw-r--r--examples/rulers/rulers.c1
-rw-r--r--examples/scribble-simple/scribble-simple.c1
-rw-r--r--examples/scribble-xinput/scribble-xinput.c1
-rw-r--r--examples/scrolledwin/scrolledwin.c1
-rw-r--r--examples/selection/gettargets.c1
-rw-r--r--examples/selection/setselection.c1
-rw-r--r--examples/spinbutton/spinbutton.c1
-rw-r--r--examples/statusbar/statusbar.c1
-rw-r--r--examples/table/table.c1
-rw-r--r--examples/text/text.c1
-rw-r--r--examples/tictactoe/tictactoe.c1
-rw-r--r--examples/tictactoe/ttt_test.c1
-rw-r--r--examples/tree/tree.c1
-rw-r--r--examples/wheelbarrow/wheelbarrow.c1
42 files changed, 42 insertions, 0 deletions
diff --git a/examples/arrow/arrow.c b/examples/arrow/arrow.c
index 7dfb74beb..1ffca7d77 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 f32da1b9d..dcd3a56ce 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 4dc29da62..bb7addc32 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 c70700ac7..0bf0fcc91 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 922026346..44190844b 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 87100e509..b475563c4 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 4b087606c..6c52751c1 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 a6a5669d1..94a9455cb 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 32d35cdb4..10e559f73 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 ef56da93e..45dfedb8c 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 8e26725ec..85527fb30 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 3a58beeb5..42886ba76 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 078fbdd67..141b63c04 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 3944c8b39..2dd66fe20 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 402472d42..513c7595c 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 ad66be6e9..8f8109759 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 5f2b27ae2..3a8a1627e 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 84281be27..c56f1d584 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 3180a4f0d..066d2caba 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 c3b308b35..b456eee60 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 94271df94..c90e9065e 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 39deba1f7..439d5932e 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 ae5d9e3be..8657ab5a2 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 e28566b7f..8c6da215a 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 af6a29024..8339c7320 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 cec619ea5..80228cfd5 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 b3fe809a6..ab5f09a55 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 be4b6cc09..dced1fb56 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 720f9dd29..9e53dd0cc 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 809a3675e..69920269d 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 ed1b3d715..784e1edd7 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 be4c82d68..bdb1e4a12 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 bfc44a0ee..74b3fa65a 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 3dcb3a53b..926e8e05a 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 ba54ed8d3..fdeb7716e 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 a65039d2c..44d9053bd 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 547f7c009..a3159586a 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 fe2a0385f..319bedfaa 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 271b3678a..7ed00e564 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 0f8a0f12e..ad7517c94 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 c17165cd5..ce2f45241 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 12d8395c0..33da0a5b6 100644
--- a/examples/wheelbarrow/wheelbarrow.c
+++ b/examples/wheelbarrow/wheelbarrow.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
/* XPM */