summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog14
-rw-r--r--ChangeLog.pre-2-1014
-rw-r--r--ChangeLog.pre-2-414
-rw-r--r--ChangeLog.pre-2-614
-rw-r--r--ChangeLog.pre-2-814
-rw-r--r--configure.in3
-rw-r--r--demos/gtk-demo/appwindow.c1
-rw-r--r--demos/gtk-demo/button_box.c1
-rw-r--r--demos/gtk-demo/changedisplay.c1
-rw-r--r--demos/gtk-demo/colorsel.c1
-rw-r--r--demos/gtk-demo/dialog.c1
-rw-r--r--demos/gtk-demo/drawingarea.c1
-rw-r--r--demos/gtk-demo/editable_cells.c1
-rw-r--r--demos/gtk-demo/entry_completion.c1
-rw-r--r--demos/gtk-demo/hypertext.c1
-rw-r--r--demos/gtk-demo/images.c1
-rw-r--r--demos/gtk-demo/list_store.c1
-rw-r--r--demos/gtk-demo/main.c1
-rw-r--r--demos/gtk-demo/menus.c1
-rw-r--r--demos/gtk-demo/panes.c1
-rw-r--r--demos/gtk-demo/sizegroup.c1
-rw-r--r--demos/gtk-demo/stock_browser.c1
-rw-r--r--demos/gtk-demo/textview.c1
-rw-r--r--demos/gtk-demo/tree_store.c1
-rw-r--r--demos/gtk-demo/ui_manager.c1
-rw-r--r--demos/pixbuf-init.c1
-rw-r--r--demos/testpixbuf-scale.c1
-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
-rw-r--r--gdk-pixbuf/gdk-pixbuf-csource.c2
-rw-r--r--gdk-pixbuf/gdk-pixbuf-io.c2
-rw-r--r--gdk-pixbuf/gdk-pixbuf-loader.c1
-rw-r--r--gdk-pixbuf/gdk-pixdata.c1
-rw-r--r--gdk-pixbuf/io-pcx.c1
-rw-r--r--gdk-pixbuf/io-tga.c1
-rw-r--r--gdk-pixbuf/pixops/pixops.c2
-rw-r--r--gdk-pixbuf/pixops/timescale.c1
-rw-r--r--gdk/gdk.c2
-rw-r--r--gdk/gdkcolor.c1
-rw-r--r--gdk/gdkcursor.c1
-rw-r--r--gdk/gdkdisplay.c1
-rw-r--r--gdk/gdkdnd.c1
-rw-r--r--gdk/gdkdraw.c1
-rw-r--r--gdk/gdkevents.c1
-rw-r--r--gdk/gdkfont.c1
-rw-r--r--gdk/gdkgc.c1
-rw-r--r--gdk/gdkglobals.c3
-rw-r--r--gdk/gdkimage.c1
-rw-r--r--gdk/gdkkeynames.c1
-rw-r--r--gdk/gdkkeyuni.c1
-rw-r--r--gdk/gdkpango.c1
-rw-r--r--gdk/gdkpixmap.c1
-rw-r--r--gdk/gdkpolyreg-generic.c1
-rw-r--r--gdk/gdkrectangle.c1
-rw-r--r--gdk/gdkregion-generic.c1
-rw-r--r--gdk/gdkrgb.c17
-rw-r--r--gdk/gdkscreen.c1
-rw-r--r--gdk/gdkselection.c1
-rw-r--r--gdk/gdkvisual.c1
-rw-r--r--gdk/gdkwindow.c1
-rw-r--r--gdk/linux-fb/gdkcolor-fb.c1
-rw-r--r--gdk/linux-fb/gdkcursor-fb.c1
-rw-r--r--gdk/linux-fb/gdkdisplay-fb.c1
-rw-r--r--gdk/linux-fb/gdkdnd-fb.c1
-rw-r--r--gdk/linux-fb/gdkdrawable-fb2.c2
-rw-r--r--gdk/linux-fb/gdkevents-fb.c1
-rw-r--r--gdk/linux-fb/gdkfbmanager.c1
-rw-r--r--gdk/linux-fb/gdkfbswitch.c1
-rw-r--r--gdk/linux-fb/gdkfont-fb.c1
-rw-r--r--gdk/linux-fb/gdkgc-fb.c1
-rw-r--r--gdk/linux-fb/gdkgeometry-fb.c1
-rw-r--r--gdk/linux-fb/gdkglobals-fb.c2
-rw-r--r--gdk/linux-fb/gdkinput-none.c1
-rw-r--r--gdk/linux-fb/gdkinput.c2
-rw-r--r--gdk/linux-fb/gdkkeyboard-fb.c1
-rw-r--r--gdk/linux-fb/gdkmain-fb.c2
-rw-r--r--gdk/linux-fb/gdkmouse-fb.c1
-rw-r--r--gdk/linux-fb/gdkpango-fb.c1
-rw-r--r--gdk/linux-fb/gdkpixmap-fb.c2
-rw-r--r--gdk/linux-fb/gdkproperty-fb.c1
-rw-r--r--gdk/linux-fb/gdkrender-fb.c2
-rw-r--r--gdk/linux-fb/gdkscreen-fb.c1
-rw-r--r--gdk/linux-fb/gdkselection-fb.c1
-rw-r--r--gdk/linux-fb/gdkvisual-fb.c1
-rw-r--r--gdk/linux-fb/gdkwindow-fb.c2
-rw-r--r--gdk/linux-fb/miarc.c1
-rw-r--r--gdk/linux-fb/midash.c1
-rw-r--r--gdk/linux-fb/mifillarc.c1
-rw-r--r--gdk/linux-fb/mifpolycon.c1
-rw-r--r--gdk/linux-fb/mipoly.c1
-rw-r--r--gdk/linux-fb/mipolygen.c1
-rw-r--r--gdk/linux-fb/mipolyutil.c1
-rw-r--r--gdk/linux-fb/mispans.c1
-rw-r--r--gdk/linux-fb/miwideline.c1
-rw-r--r--gdk/linux-fb/mizerclip.c1
-rw-r--r--gdk/linux-fb/mizerline.c1
-rw-r--r--gdk/testgdk.c1
-rw-r--r--gdk/win32/bdfcursor.c1
-rw-r--r--gdk/win32/gdkcolor-win32.c1
-rw-r--r--gdk/win32/gdkcursor-win32.c1
-rw-r--r--gdk/win32/gdkdisplay-win32.c1
-rw-r--r--gdk/win32/gdkdnd-win32.c1
-rw-r--r--gdk/win32/gdkdrawable-win32.c1
-rw-r--r--gdk/win32/gdkevents-win32.c2
-rw-r--r--gdk/win32/gdkfont-win32.c1
-rw-r--r--gdk/win32/gdkgc-win32.c1
-rw-r--r--gdk/win32/gdkgeometry-win32.c1
-rw-r--r--gdk/win32/gdkglobals-win32.c1
-rw-r--r--gdk/win32/gdkimage-win32.c1
-rw-r--r--gdk/win32/gdkinput-win32.c2
-rw-r--r--gdk/win32/gdkinput.c2
-rw-r--r--gdk/win32/gdkkeys-win32.c2
-rw-r--r--gdk/win32/gdkmain-win32.c2
-rw-r--r--gdk/win32/gdkpango-win32.c1
-rw-r--r--gdk/win32/gdkpixmap-win32.c1
-rw-r--r--gdk/win32/gdkproperty-win32.c1
-rw-r--r--gdk/win32/gdkscreen-win32.c1
-rw-r--r--gdk/win32/gdkselection-win32.c1
-rw-r--r--gdk/win32/gdkvisual-win32.c1
-rw-r--r--gdk/win32/gdkwin32id.c1
-rw-r--r--gdk/win32/gdkwindow-win32.c1
-rw-r--r--gdk/x11/gdkasync.c1
-rw-r--r--gdk/x11/gdkcolor-x11.c1
-rw-r--r--gdk/x11/gdkcursor-x11.c2
-rw-r--r--gdk/x11/gdkdnd-x11.c1
-rw-r--r--gdk/x11/gdkdrawable-x11.c4
-rw-r--r--gdk/x11/gdkevents-x11.c9
-rw-r--r--gdk/x11/gdkfont-x11.c1
-rw-r--r--gdk/x11/gdkgeometry-x11.c1
-rw-r--r--gdk/x11/gdkglobals-x11.c1
-rw-r--r--gdk/x11/gdkim-x11.c10
-rw-r--r--gdk/x11/gdkinput-none.c1
-rw-r--r--gdk/x11/gdkinput-x11.c1
-rw-r--r--gdk/x11/gdkinput-xfree.c1
-rw-r--r--gdk/x11/gdkinput.c3
-rw-r--r--gdk/x11/gdkkeys-x11.c4
-rw-r--r--gdk/x11/gdkmain-x11.c2
-rw-r--r--gdk/x11/gdkpixmap-x11.c2
-rw-r--r--gdk/x11/gdkproperty-x11.c1
-rw-r--r--gdk/x11/gdkscreen-x11.c3
-rw-r--r--gdk/x11/gdkselection-x11.c1
-rw-r--r--gdk/x11/gdkvisual-x11.c1
-rw-r--r--gdk/x11/gdkwindow-x11.c3
-rw-r--r--gdk/x11/gdkxid.c1
-rw-r--r--gdk/x11/xsettings-client.c1
-rw-r--r--gdk/x11/xsettings-common.c1
-rw-r--r--gtk/fnmatch.c1
-rw-r--r--gtk/gtkaccelgroup.c1
-rw-r--r--gtk/gtkaccellabel.c1
-rw-r--r--gtk/gtkaccelmap.c2
-rw-r--r--gtk/gtkaccessible.c1
-rw-r--r--gtk/gtkadjustment.c1
-rw-r--r--gtk/gtkalignment.c1
-rw-r--r--gtk/gtkarrow.c1
-rw-r--r--gtk/gtkaspectframe.c1
-rw-r--r--gtk/gtkbbox.c1
-rw-r--r--gtk/gtkbin.c1
-rw-r--r--gtk/gtkbindings.c1
-rw-r--r--gtk/gtkbox.c1
-rw-r--r--gtk/gtkbutton.c1
-rw-r--r--gtk/gtkcalendar.c2
-rw-r--r--gtk/gtkcelleditable.c1
-rw-r--r--gtk/gtkcelllayout.c1
-rw-r--r--gtk/gtkcellrenderer.c1
-rw-r--r--gtk/gtkcellrendererpixbuf.c1
-rw-r--r--gtk/gtkcellrendererseptext.c1
-rw-r--r--gtk/gtkcellrenderertext.c1
-rw-r--r--gtk/gtkcellrenderertoggle.c1
-rw-r--r--gtk/gtkcellview.c1
-rw-r--r--gtk/gtkcellviewmenuitem.c1
-rw-r--r--gtk/gtkcheckbutton.c1
-rw-r--r--gtk/gtkcheckmenuitem.c1
-rw-r--r--gtk/gtkclipboard.c1
-rw-r--r--gtk/gtkclist.c4
-rw-r--r--gtk/gtkcolorsel.c1
-rw-r--r--gtk/gtkcolorseldialog.c1
-rw-r--r--gtk/gtkcombo.c1
-rw-r--r--gtk/gtkcombobox.c1
-rw-r--r--gtk/gtkcomboboxentry.c1
-rw-r--r--gtk/gtkcontainer.c1
-rw-r--r--gtk/gtkctree.c1
-rw-r--r--gtk/gtkcurve.c1
-rw-r--r--gtk/gtkdialog.c1
-rw-r--r--gtk/gtkdnd.c1
-rw-r--r--gtk/gtkdrawingarea.c1
-rw-r--r--gtk/gtkeditable.c1
-rw-r--r--gtk/gtkentry.c1
-rw-r--r--gtk/gtkentrycompletion.c1
-rw-r--r--gtk/gtkeventbox.c1
-rw-r--r--gtk/gtkfilechooser.c1
-rw-r--r--gtk/gtkfilechooserdefault.c10
-rw-r--r--gtk/gtkfilechooserdialog.c1
-rw-r--r--gtk/gtkfilechooserembed.c1
-rw-r--r--gtk/gtkfilechooserentry.c1
-rw-r--r--gtk/gtkfilechooserutils.c1
-rw-r--r--gtk/gtkfilechooserwidget.c1
-rw-r--r--gtk/gtkfilefilter.c1
-rw-r--r--gtk/gtkfilesel.c2
-rw-r--r--gtk/gtkfilesystem.c1
-rw-r--r--gtk/gtkfilesystemmodel.c1
-rw-r--r--gtk/gtkfilesystemunix.c2
-rw-r--r--gtk/gtkfilesystemwin32.c1
-rw-r--r--gtk/gtkfixed.c1
-rw-r--r--gtk/gtkfontsel.c1
-rw-r--r--gtk/gtkframe.c1
-rw-r--r--gtk/gtkgamma.c1
-rw-r--r--gtk/gtkgc.c1
-rw-r--r--gtk/gtkhandlebox.c1
-rw-r--r--gtk/gtkhbbox.c1
-rw-r--r--gtk/gtkhbox.c1
-rw-r--r--gtk/gtkhpaned.c1
-rw-r--r--gtk/gtkhruler.c1
-rw-r--r--gtk/gtkhscale.c1
-rw-r--r--gtk/gtkhscrollbar.c1
-rw-r--r--gtk/gtkhseparator.c1
-rw-r--r--gtk/gtkhsv.c1
-rw-r--r--gtk/gtkiconfactory.c1
-rw-r--r--gtk/gtkiconthemeparser.c2
-rw-r--r--gtk/gtkimage.c1
-rw-r--r--gtk/gtkimagemenuitem.c1
-rw-r--r--gtk/gtkimcontext.c1
-rw-r--r--gtk/gtkimcontextsimple.c1
-rw-r--r--gtk/gtkimmodule.c4
-rw-r--r--gtk/gtkimmulticontext.c2
-rw-r--r--gtk/gtkinputdialog.c1
-rw-r--r--gtk/gtkinvisible.c1
-rw-r--r--gtk/gtkitem.c1
-rw-r--r--gtk/gtkitemfactory.c2
-rw-r--r--gtk/gtkkeyhash.c1
-rw-r--r--gtk/gtklabel.c1
-rw-r--r--gtk/gtklayout.c1
-rw-r--r--gtk/gtklist.c1
-rw-r--r--gtk/gtklistitem.c1
-rw-r--r--gtk/gtkliststore.c1
-rw-r--r--gtk/gtkmain.c3
-rw-r--r--gtk/gtkmenu.c1
-rw-r--r--gtk/gtkmenubar.c1
-rw-r--r--gtk/gtkmenuitem.c1
-rw-r--r--gtk/gtkmenushell.c1
-rw-r--r--gtk/gtkmessagedialog.c1
-rw-r--r--gtk/gtkmisc.c1
-rw-r--r--gtk/gtknotebook.c1
-rw-r--r--gtk/gtkobject.c1
-rw-r--r--gtk/gtkoldeditable.c1
-rw-r--r--gtk/gtkoptionmenu.c1
-rw-r--r--gtk/gtkpaned.c1
-rw-r--r--gtk/gtkpathbar.c1
-rw-r--r--gtk/gtkpixmap.c1
-rw-r--r--gtk/gtkpreview.c2
-rw-r--r--gtk/gtkprogress.c1
-rw-r--r--gtk/gtkradiobutton.c1
-rw-r--r--gtk/gtkradiomenuitem.c1
-rw-r--r--gtk/gtkradiotoolbutton.c1
-rw-r--r--gtk/gtkrange.c1
-rw-r--r--gtk/gtkrbtree.c1
-rw-r--r--gtk/gtkrc.c2
-rw-r--r--gtk/gtkruler.c1
-rw-r--r--gtk/gtkscale.c1
-rw-r--r--gtk/gtkscrollbar.c1
-rw-r--r--gtk/gtkscrolledwindow.c1
-rw-r--r--gtk/gtkselection.c1
-rw-r--r--gtk/gtkseparator.c1
-rw-r--r--gtk/gtkseparatormenuitem.c1
-rw-r--r--gtk/gtkseparatortoolitem.c1
-rw-r--r--gtk/gtksettings.c1
-rw-r--r--gtk/gtksignal.c1
-rw-r--r--gtk/gtksizegroup.c1
-rw-r--r--gtk/gtksocket.c1
-rw-r--r--gtk/gtkspinbutton.c1
-rw-r--r--gtk/gtkstatusbar.c1
-rw-r--r--gtk/gtkstock.c1
-rw-r--r--gtk/gtkstyle.c1
-rw-r--r--gtk/gtktable.c1
-rw-r--r--gtk/gtktearoffmenuitem.c1
-rw-r--r--gtk/gtktext.c1
-rw-r--r--gtk/gtktextbtree.c1
-rw-r--r--gtk/gtktextbuffer.c1
-rw-r--r--gtk/gtktextchild.c1
-rw-r--r--gtk/gtktextdisplay.c1
-rw-r--r--gtk/gtktextiter.c1
-rw-r--r--gtk/gtktextlayout.c1
-rw-r--r--gtk/gtktextmark.c1
-rw-r--r--gtk/gtktextsegment.c1
-rw-r--r--gtk/gtktexttag.c1
-rw-r--r--gtk/gtktexttagtable.c1
-rw-r--r--gtk/gtktexttypes.c1
-rw-r--r--gtk/gtktextutil.c1
-rw-r--r--gtk/gtktextview.c1
-rw-r--r--gtk/gtkthemes.c3
-rw-r--r--gtk/gtktipsquery.c1
-rw-r--r--gtk/gtktogglebutton.c1
-rw-r--r--gtk/gtktoggletoolbutton.c1
-rw-r--r--gtk/gtktoolbar.c1
-rw-r--r--gtk/gtktoolbutton.c1
-rw-r--r--gtk/gtktoolitem.c1
-rw-r--r--gtk/gtktooltips.c1
-rw-r--r--gtk/gtktree.c1
-rw-r--r--gtk/gtktreedatalist.c1
-rw-r--r--gtk/gtktreednd.c1
-rw-r--r--gtk/gtktreeitem.c1
-rw-r--r--gtk/gtktreemodel.c1
-rw-r--r--gtk/gtktreemodelfilter.c1
-rw-r--r--gtk/gtktreemodelsort.c1
-rw-r--r--gtk/gtktreeselection.c1
-rw-r--r--gtk/gtktreesortable.c1
-rw-r--r--gtk/gtktreestore.c1
-rw-r--r--gtk/gtktreeview.c1
-rw-r--r--gtk/gtktreeviewcolumn.c1
-rw-r--r--gtk/gtktypeutils.c1
-rw-r--r--gtk/gtkvbbox.c1
-rw-r--r--gtk/gtkvbox.c1
-rw-r--r--gtk/gtkviewport.c1
-rw-r--r--gtk/gtkvpaned.c1
-rw-r--r--gtk/gtkvruler.c1
-rw-r--r--gtk/gtkvscale.c1
-rw-r--r--gtk/gtkvscrollbar.c1
-rw-r--r--gtk/gtkvseparator.c1
-rw-r--r--gtk/gtkwidget.c1
-rw-r--r--gtk/gtkwindow-decorate.c1
-rw-r--r--gtk/gtkwindow.c1
-rw-r--r--gtk/gtkxembed.c1
-rw-r--r--gtk/queryimmodules.c2
-rw-r--r--gtk/theme-bits/decompose-bits.c1
-rw-r--r--gtk/xdgmime/test-mime.c1
-rw-r--r--gtk/xdgmime/xdgmime.c1
-rw-r--r--gtk/xdgmime/xdgmimeglob.c1
-rw-r--r--gtk/xdgmime/xdgmimeint.c1
-rw-r--r--gtk/xdgmime/xdgmimemagic.c1
-rw-r--r--modules/input/gtkimcontextxim.c1
-rw-r--r--modules/input/imam-et.c1
-rw-r--r--modules/input/imcedilla.c1
-rw-r--r--modules/input/imcyrillic-translit.c1
-rw-r--r--modules/input/iminuktitut.c1
-rw-r--r--modules/input/imipa.c1
-rw-r--r--modules/input/imthai-broken.c1
-rw-r--r--modules/input/imti-er.c1
-rw-r--r--modules/input/imti-et.c1
-rw-r--r--modules/input/imviqr.c1
-rw-r--r--modules/input/imxim.c1
-rw-r--r--tests/prop-editor.c1
-rw-r--r--tests/simple.c1
-rw-r--r--tests/stresstest-toolbar.c1
-rw-r--r--tests/testactions.c1
-rw-r--r--tests/testcalendar.c1
-rw-r--r--tests/testcombo.c1
-rw-r--r--tests/testcombochange.c1
-rw-r--r--tests/testdnd.c1
-rw-r--r--tests/testentrycompletion.c1
-rw-r--r--tests/testfilechooser.c48
-rw-r--r--tests/testgtk.c2
-rw-r--r--tests/testicontheme.c1
-rw-r--r--tests/testinput.c1
-rw-r--r--tests/testmenus.c1
-rw-r--r--tests/testmerge.c2
-rw-r--r--tests/testmultidisplay.c1
-rw-r--r--tests/testmultiscreen.c1
-rw-r--r--tests/testrgb.c2
-rw-r--r--tests/testselection.c1
-rw-r--r--tests/testsocket.c1
-rw-r--r--tests/testsocket_child.c1
-rw-r--r--tests/testsocket_common.c1
-rw-r--r--tests/testtext.c1
-rw-r--r--tests/testtextbuffer.c1
-rw-r--r--tests/testthreads.c2
-rw-r--r--tests/testtoolbar.c1
-rw-r--r--tests/testtreecolumns.c1
-rw-r--r--tests/testtreeedit.c1
-rw-r--r--tests/testtreeflow.c1
-rw-r--r--tests/testtreefocus.c1
-rw-r--r--tests/testtreesort.c1
-rw-r--r--tests/testtreeview.c1
-rw-r--r--tests/testxinerama.c1
-rw-r--r--tests/treestoretest.c1
413 files changed, 543 insertions, 83 deletions
diff --git a/ChangeLog b/ChangeLog
index 96ad6a5d4..958b0beff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+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>
+
+2004-03-05 Federico Mena Quintero <federico@ximian.com>
+
+ * gtk/gtkfilechooserdefault.c
+ (gtk_file_chooser_default_select_path): No need to have a
+ temporary error variable.
+
2004-03-05 Tor Lillqvist <tml@iki.fi>
* configure.in: Move check for native Win32 (mingw) a bit
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 96ad6a5d4..958b0beff 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,17 @@
+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>
+
+2004-03-05 Federico Mena Quintero <federico@ximian.com>
+
+ * gtk/gtkfilechooserdefault.c
+ (gtk_file_chooser_default_select_path): No need to have a
+ temporary error variable.
+
2004-03-05 Tor Lillqvist <tml@iki.fi>
* configure.in: Move check for native Win32 (mingw) a bit
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 96ad6a5d4..958b0beff 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,17 @@
+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>
+
+2004-03-05 Federico Mena Quintero <federico@ximian.com>
+
+ * gtk/gtkfilechooserdefault.c
+ (gtk_file_chooser_default_select_path): No need to have a
+ temporary error variable.
+
2004-03-05 Tor Lillqvist <tml@iki.fi>
* configure.in: Move check for native Win32 (mingw) a bit
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 96ad6a5d4..958b0beff 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,17 @@
+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>
+
+2004-03-05 Federico Mena Quintero <federico@ximian.com>
+
+ * gtk/gtkfilechooserdefault.c
+ (gtk_file_chooser_default_select_path): No need to have a
+ temporary error variable.
+
2004-03-05 Tor Lillqvist <tml@iki.fi>
* configure.in: Move check for native Win32 (mingw) a bit
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 96ad6a5d4..958b0beff 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,17 @@
+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>
+
+2004-03-05 Federico Mena Quintero <federico@ximian.com>
+
+ * gtk/gtkfilechooserdefault.c
+ (gtk_file_chooser_default_select_path): No need to have a
+ temporary error variable.
+
2004-03-05 Tor Lillqvist <tml@iki.fi>
* configure.in: Move check for native Win32 (mingw) a bit
diff --git a/configure.in b/configure.in
index 78bcea481..50abb941b 100644
--- a/configure.in
+++ b/configure.in
@@ -137,6 +137,9 @@ fi
AM_PROG_LIBTOOL
+# Make sure we use 64-bit versions of various file stuff.
+AC_SYS_LARGEFILE
+
AM_PROG_AS
dnl Initialize maintainer mode
diff --git a/demos/gtk-demo/appwindow.c b/demos/gtk-demo/appwindow.c
index 14aca5a7f..73d4b2353 100644
--- a/demos/gtk-demo/appwindow.c
+++ b/demos/gtk-demo/appwindow.c
@@ -3,6 +3,7 @@
* Demonstrates a typical application window, with menubar, toolbar, statusbar.
*/
+#include <config.h>
#include <gtk/gtk.h>
#include "demo-common.h"
diff --git a/demos/gtk-demo/button_box.c b/demos/gtk-demo/button_box.c
index 35c5ab4ff..e1b6e69e0 100644
--- a/demos/gtk-demo/button_box.c
+++ b/demos/gtk-demo/button_box.c
@@ -3,6 +3,7 @@
* The Button Box widgets are used to arrange buttons with padding.
*/
+#include <config.h>
#include <gtk/gtk.h>
static GtkWidget *
diff --git a/demos/gtk-demo/changedisplay.c b/demos/gtk-demo/changedisplay.c
index 11500876c..31f16edff 100644
--- a/demos/gtk-demo/changedisplay.c
+++ b/demos/gtk-demo/changedisplay.c
@@ -26,6 +26,7 @@
*
* - Using GtkDialog
*/
+#include <config.h>
#include <string.h>
#include <gtk/gtk.h>
#include "demo-common.h"
diff --git a/demos/gtk-demo/colorsel.c b/demos/gtk-demo/colorsel.c
index e0571c916..bfa4ad119 100644
--- a/demos/gtk-demo/colorsel.c
+++ b/demos/gtk-demo/colorsel.c
@@ -5,6 +5,7 @@
*
*/
+#include <config.h>
#include <gtk/gtk.h>
static GtkWidget *window = NULL;
diff --git a/demos/gtk-demo/dialog.c b/demos/gtk-demo/dialog.c
index 9157f06fc..0ba668c41 100644
--- a/demos/gtk-demo/dialog.c
+++ b/demos/gtk-demo/dialog.c
@@ -3,6 +3,7 @@
* Dialog widgets are used to pop up a transient window for user feedback.
*/
+#include <config.h>
#include <gtk/gtk.h>
static GtkWidget *window = NULL;
diff --git a/demos/gtk-demo/drawingarea.c b/demos/gtk-demo/drawingarea.c
index cde2cc169..40cbcfd93 100644
--- a/demos/gtk-demo/drawingarea.c
+++ b/demos/gtk-demo/drawingarea.c
@@ -13,6 +13,7 @@
* to clear the area.
*/
+#include <config.h>
#include <gtk/gtk.h>
static GtkWidget *window = NULL;
diff --git a/demos/gtk-demo/editable_cells.c b/demos/gtk-demo/editable_cells.c
index fd5a84668..cfa896cc2 100644
--- a/demos/gtk-demo/editable_cells.c
+++ b/demos/gtk-demo/editable_cells.c
@@ -6,6 +6,7 @@
*
*/
+#include <config.h>
#include <gtk/gtk.h>
#include <string.h>
#include <stdlib.h>
diff --git a/demos/gtk-demo/entry_completion.c b/demos/gtk-demo/entry_completion.c
index fbcd856d0..35c268688 100644
--- a/demos/gtk-demo/entry_completion.c
+++ b/demos/gtk-demo/entry_completion.c
@@ -5,6 +5,7 @@
*
*/
+#include <config.h>
#include <gtk/gtk.h>
static GtkWidget *window = NULL;
diff --git a/demos/gtk-demo/hypertext.c b/demos/gtk-demo/hypertext.c
index e457a0266..4889dcc9c 100644
--- a/demos/gtk-demo/hypertext.c
+++ b/demos/gtk-demo/hypertext.c
@@ -6,6 +6,7 @@
* shows.
*/
+#include <config.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
diff --git a/demos/gtk-demo/images.c b/demos/gtk-demo/images.c
index d9262c54e..e34e8496b 100644
--- a/demos/gtk-demo/images.c
+++ b/demos/gtk-demo/images.c
@@ -12,6 +12,7 @@
* application binary can be self-contained.
*/
+#include <config.h>
#include <gtk/gtk.h>
#include <stdio.h>
#include <errno.h>
diff --git a/demos/gtk-demo/list_store.c b/demos/gtk-demo/list_store.c
index 990e48992..51ec16596 100644
--- a/demos/gtk-demo/list_store.c
+++ b/demos/gtk-demo/list_store.c
@@ -7,6 +7,7 @@
*
*/
+#include <config.h>
#include <gtk/gtk.h>
static GtkWidget *window = NULL;
diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c
index f4a893f2a..2142e7258 100644
--- a/demos/gtk-demo/main.c
+++ b/demos/gtk-demo/main.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/demos/gtk-demo/menus.c b/demos/gtk-demo/menus.c
index 98dbe2455..792f1a361 100644
--- a/demos/gtk-demo/menus.c
+++ b/demos/gtk-demo/menus.c
@@ -25,6 +25,7 @@
*
*/
+#include <config.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
diff --git a/demos/gtk-demo/panes.c b/demos/gtk-demo/panes.c
index 8547d8fc4..67c8570de 100644
--- a/demos/gtk-demo/panes.c
+++ b/demos/gtk-demo/panes.c
@@ -11,6 +11,7 @@
* each side of each widget.
*/
+#include <config.h>
#include <gtk/gtk.h>
void
diff --git a/demos/gtk-demo/sizegroup.c b/demos/gtk-demo/sizegroup.c
index 973196298..d01475479 100644
--- a/demos/gtk-demo/sizegroup.c
+++ b/demos/gtk-demo/sizegroup.c
@@ -13,6 +13,7 @@
* into a table, you would not include the GTK_FILL flag.
*/
+#include <config.h>
#include <gtk/gtk.h>
static GtkWidget *window = NULL;
diff --git a/demos/gtk-demo/stock_browser.c b/demos/gtk-demo/stock_browser.c
index 54470ddb8..d4cc4d735 100644
--- a/demos/gtk-demo/stock_browser.c
+++ b/demos/gtk-demo/stock_browser.c
@@ -6,6 +6,7 @@
* and stock items.
*/
+#include <config.h>
#include <string.h>
#include <gtk/gtk.h>
diff --git a/demos/gtk-demo/textview.c b/demos/gtk-demo/textview.c
index 2365aa251..6c9115d1e 100644
--- a/demos/gtk-demo/textview.c
+++ b/demos/gtk-demo/textview.c
@@ -7,6 +7,7 @@
*
*/
+#include <config.h>
#include <gtk/gtk.h>
#include <stdlib.h> /* for exit() */
diff --git a/demos/gtk-demo/tree_store.c b/demos/gtk-demo/tree_store.c
index a5c61b595..ab2e823d5 100644
--- a/demos/gtk-demo/tree_store.c
+++ b/demos/gtk-demo/tree_store.c
@@ -8,6 +8,7 @@
*
*/
+#include <config.h>
#include <gtk/gtk.h>
static GtkWidget *window = NULL;
diff --git a/demos/gtk-demo/ui_manager.c b/demos/gtk-demo/ui_manager.c
index c83143570..906caaf41 100644
--- a/demos/gtk-demo/ui_manager.c
+++ b/demos/gtk-demo/ui_manager.c
@@ -4,6 +4,7 @@
* from an array of actions and a description of the menu hierarchy.
*/
+#include <config.h>
#include <gtk/gtk.h>
static void
diff --git a/demos/pixbuf-init.c b/demos/pixbuf-init.c
index 83ec387bc..f4faa9a2d 100644
--- a/demos/pixbuf-init.c
+++ b/demos/pixbuf-init.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <glib.h>
#include <sys/stat.h>
diff --git a/demos/testpixbuf-scale.c b/demos/testpixbuf-scale.c
index c54c4b254..e826c0567 100644
--- a/demos/testpixbuf-scale.c
+++ b/demos/testpixbuf-scale.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <gtk/gtk.h>
#include <stdio.h>
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 */
diff --git a/gdk-pixbuf/gdk-pixbuf-csource.c b/gdk-pixbuf/gdk-pixbuf-csource.c
index 29669c8a0..9b0a66230 100644
--- a/gdk-pixbuf/gdk-pixbuf-csource.c
+++ b/gdk-pixbuf/gdk-pixbuf-csource.c
@@ -16,7 +16,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#include "../gtk/gtkversion.h" /* versioning */
#include "gdk-pixbuf.h"
diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c
index 4ec06195b..92ddb55b6 100644
--- a/gdk-pixbuf/gdk-pixbuf-io.c
+++ b/gdk-pixbuf/gdk-pixbuf-io.c
@@ -22,7 +22,7 @@
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/gdk-pixbuf/gdk-pixbuf-loader.c b/gdk-pixbuf/gdk-pixbuf-loader.c
index 54eff3280..7bb0f74fa 100644
--- a/gdk-pixbuf/gdk-pixbuf-loader.c
+++ b/gdk-pixbuf/gdk-pixbuf-loader.c
@@ -24,6 +24,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include "gdk-pixbuf-private.h"
diff --git a/gdk-pixbuf/gdk-pixdata.c b/gdk-pixbuf/gdk-pixdata.c
index 10f14ce0f..7e63bfa65 100644
--- a/gdk-pixbuf/gdk-pixdata.c
+++ b/gdk-pixbuf/gdk-pixdata.c
@@ -16,6 +16,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gdk-pixdata.h"
#include "gdk-pixbuf-private.h"
diff --git a/gdk-pixbuf/io-pcx.c b/gdk-pixbuf/io-pcx.c
index 4a9d0bef8..4904f3acf 100644
--- a/gdk-pixbuf/io-pcx.c
+++ b/gdk-pixbuf/io-pcx.c
@@ -21,6 +21,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
#include "gdk-pixbuf-private.h"
diff --git a/gdk-pixbuf/io-tga.c b/gdk-pixbuf/io-tga.c
index 32c6af0b5..99f413ce8 100644
--- a/gdk-pixbuf/io-tga.c
+++ b/gdk-pixbuf/io-tga.c
@@ -36,6 +36,7 @@
* - Error handling was designed to be very paranoid.
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
diff --git a/gdk-pixbuf/pixops/pixops.c b/gdk-pixbuf/pixops/pixops.c
index 548d48ee1..633b5bc0b 100644
--- a/gdk-pixbuf/pixops/pixops.c
+++ b/gdk-pixbuf/pixops/pixops.c
@@ -1,6 +1,6 @@
+#include <config.h>
#include <math.h>
#include <glib.h>
-#include "config.h"
#include "pixops.h"
#include "pixops-internal.h"
diff --git a/gdk-pixbuf/pixops/timescale.c b/gdk-pixbuf/pixops/timescale.c
index bc890d437..94ed3cf13 100644
--- a/gdk-pixbuf/pixops/timescale.c
+++ b/gdk-pixbuf/pixops/timescale.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <glib.h>
#include <string.h>
#include <stdlib.h>
diff --git a/gdk/gdk.c b/gdk/gdk.c
index c95371b56..567cc4f57 100644
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -24,7 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "config.h"
+#include <config.h>
#include <string.h>
#include <stdlib.h>
diff --git a/gdk/gdkcolor.c b/gdk/gdkcolor.c
index 5e0d73b4e..52232720c 100644
--- a/gdk/gdkcolor.c
+++ b/gdk/gdkcolor.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <time.h>
#include "gdkscreen.h"
diff --git a/gdk/gdkcursor.c b/gdk/gdkcursor.c
index 77d5abf4b..52b888e0b 100644
--- a/gdk/gdkcursor.c
+++ b/gdk/gdkcursor.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdkcursor.h"
#include "gdkdisplay.h"
#include "gdkinternals.h"
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index d6a3a28fa..bd5fe9eeb 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -21,6 +21,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <glib.h>
#include "gdk.h" /* gdk_event_send_client_message() */
#include "gdkdisplay.h"
diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c
index 3ee8ad433..4c04ed89c 100644
--- a/gdk/gdkdnd.c
+++ b/gdk/gdkdnd.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <gdkdnd.h>
#include <gdkdrawable.h>
#include <gdkdisplay.h>
diff --git a/gdk/gdkdraw.c b/gdk/gdkdraw.c
index da845032e..2ea85fb2c 100644
--- a/gdk/gdkdraw.c
+++ b/gdk/gdkdraw.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdkdrawable.h"
#include "gdkinternals.h"
#include "gdkwindow.h"
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index 7ecc2102e..7ede828a9 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h> /* For memset() */
#include "gdk.h"
diff --git a/gdk/gdkfont.c b/gdk/gdkfont.c
index 2d4d04ced..fd1c387e9 100644
--- a/gdk/gdkfont.c
+++ b/gdk/gdkfont.c
@@ -26,6 +26,7 @@
#undef GDK_DISABLE_DEPRECATED
+#include <config.h>
#include "gdkdisplay.h"
#include "gdkfont.h"
#include "gdkinternals.h"
diff --git a/gdk/gdkgc.c b/gdk/gdkgc.c
index d04de3bbb..6898727b4 100644
--- a/gdk/gdkgc.c
+++ b/gdk/gdkgc.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h>
#include "gdkgc.h"
diff --git a/gdk/gdkglobals.c b/gdk/gdkglobals.c
index d3d332f5d..3a033caf3 100644
--- a/gdk/gdkglobals.c
+++ b/gdk/gdkglobals.c
@@ -24,11 +24,12 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
+
#include <stdio.h>
#include "gdktypes.h"
#include "gdkprivate.h"
-#include "config.h"
guint _gdk_debug_flags = 0;
gint _gdk_error_code = 0;
diff --git a/gdk/gdkimage.c b/gdk/gdkimage.c
index c7ef2efd9..7ba108d52 100644
--- a/gdk/gdkimage.c
+++ b/gdk/gdkimage.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdlib.h>
#include <sys/types.h>
diff --git a/gdk/gdkkeynames.c b/gdk/gdkkeynames.c
index 576fb05e8..b6120dfb8 100644
--- a/gdk/gdkkeynames.c
+++ b/gdk/gdkkeynames.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <glib/gprintf.h>
#include <stdlib.h>
#include <string.h>
diff --git a/gdk/gdkkeyuni.c b/gdk/gdkkeyuni.c
index aa07c9734..a05c957b6 100644
--- a/gdk/gdkkeyuni.c
+++ b/gdk/gdkkeyuni.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include "gdk.h"
/* Thanks to Markus G. Kuhn <mkuhn@acm.org> for the ksysym<->Unicode
diff --git a/gdk/gdkpango.c b/gdk/gdkpango.c
index 35a0a4968..a9d612ac9 100644
--- a/gdk/gdkpango.c
+++ b/gdk/gdkpango.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gdkcolor.h"
#include "gdkgc.h"
#include "gdkpango.h"
diff --git a/gdk/gdkpixmap.c b/gdk/gdkpixmap.c
index 239277635..e131e4577 100644
--- a/gdk/gdkpixmap.c
+++ b/gdk/gdkpixmap.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdkpixmap.h"
#include "gdkinternals.h"
#include "gdkpixbuf.h"
diff --git a/gdk/gdkpolyreg-generic.c b/gdk/gdkpolyreg-generic.c
index 838701d8c..916d257b5 100644
--- a/gdk/gdkpolyreg-generic.c
+++ b/gdk/gdkpolyreg-generic.c
@@ -46,6 +46,7 @@ SOFTWARE.
#define LARGE_COORDINATE 1000000
#define SMALL_COORDINATE -LARGE_COORDINATE
+#include <config.h>
#include <gdkregion.h>
#include "gdkregion-generic.h"
#include "gdkpoly-generic.h"
diff --git a/gdk/gdkrectangle.c b/gdk/gdkrectangle.c
index c480d9f99..f59c7ec95 100644
--- a/gdk/gdkrectangle.c
+++ b/gdk/gdkrectangle.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <gdk/gdk.h>
void
diff --git a/gdk/gdkregion-generic.c b/gdk/gdkregion-generic.c
index 14bca401d..3c12fde3f 100644
--- a/gdk/gdkregion-generic.c
+++ b/gdk/gdkregion-generic.c
@@ -68,6 +68,7 @@ SOFTWARE.
* the y-x-banding that's so nice to have...
*/
+#include <config.h>
#include <stdlib.h>
#include <string.h>
#include <gdkregion.h>
diff --git a/gdk/gdkrgb.c b/gdk/gdkrgb.c
index 3dc47d9d1..13e034e16 100644
--- a/gdk/gdkrgb.c
+++ b/gdk/gdkrgb.c
@@ -29,24 +29,13 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <math.h>
-
-#if HAVE_CONFIG_H
-# include <config.h>
-# if STDC_HEADERS
-# include <stdio.h>
-# include <stdlib.h>
-# include <string.h>
-# endif
-#else
-# include <stdio.h>
-# include <stdlib.h>
-#endif
-
+#include <stdlib.h>
+#include <string.h>
#define ENABLE_GRAYSCALE
-#include "config.h"
#include "gdkprivate.h"
#include "gdkinternals.h" /* _gdk_windowing_get_bits_for_depth() */
diff --git a/gdk/gdkscreen.c b/gdk/gdkscreen.c
index 329eab954..3ab113e57 100644
--- a/gdk/gdkscreen.c
+++ b/gdk/gdkscreen.c
@@ -21,6 +21,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gdk.h" /* For gdk_rectangle_intersect() */
#include "gdkcolor.h"
#include "gdkwindow.h"
diff --git a/gdk/gdkselection.c b/gdk/gdkselection.c
index 4aecef886..cc0c45332 100644
--- a/gdk/gdkselection.c
+++ b/gdk/gdkselection.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include "gdkproperty.h"
#include "gdkdisplay.h"
#include "gdkselection.h"
diff --git a/gdk/gdkvisual.c b/gdk/gdkvisual.c
index 9ee4b1a17..39c09e140 100644
--- a/gdk/gdkvisual.c
+++ b/gdk/gdkvisual.c
@@ -21,6 +21,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gdkvisual.h"
#include "gdkscreen.h"
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 7ad957d59..4df74dd6d 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdkwindow.h"
#include "gdkinternals.h"
#include "gdk.h" /* For gdk_rectangle_union() */
diff --git a/gdk/linux-fb/gdkcolor-fb.c b/gdk/linux-fb/gdkcolor-fb.c
index 20903d608..c2bbb10b2 100644
--- a/gdk/linux-fb/gdkcolor-fb.c
+++ b/gdk/linux-fb/gdkcolor-fb.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <time.h>
#include <sys/ioctl.h>
#include <string.h>
diff --git a/gdk/linux-fb/gdkcursor-fb.c b/gdk/linux-fb/gdkcursor-fb.c
index 9212662d5..4253c0478 100644
--- a/gdk/linux-fb/gdkcursor-fb.c
+++ b/gdk/linux-fb/gdkcursor-fb.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdkfb.h"
#include "gdkprivate-fb.h"
#include "gdkcursor.h"
diff --git a/gdk/linux-fb/gdkdisplay-fb.c b/gdk/linux-fb/gdkdisplay-fb.c
index a42bff248..d9d798e19 100644
--- a/gdk/linux-fb/gdkdisplay-fb.c
+++ b/gdk/linux-fb/gdkdisplay-fb.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdk.h"
#include "gdkprivate-fb.h"
diff --git a/gdk/linux-fb/gdkdnd-fb.c b/gdk/linux-fb/gdkdnd-fb.c
index 4ce146d59..cc84f2e10 100644
--- a/gdk/linux-fb/gdkdnd-fb.c
+++ b/gdk/linux-fb/gdkdnd-fb.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdk.h" /* For gdk_flush() */
#include "gdkdnd.h"
#include "gdkproperty.h"
diff --git a/gdk/linux-fb/gdkdrawable-fb2.c b/gdk/linux-fb/gdkdrawable-fb2.c
index a97ec0061..eca679704 100644
--- a/gdk/linux-fb/gdkdrawable-fb2.c
+++ b/gdk/linux-fb/gdkdrawable-fb2.c
@@ -1,4 +1,4 @@
-#include "config.h"
+#include <config.h>
#include "gdkprivate-fb.h"
#include "mi.h"
#include <string.h>
diff --git a/gdk/linux-fb/gdkevents-fb.c b/gdk/linux-fb/gdkevents-fb.c
index 9001da48e..64cf1e9a4 100644
--- a/gdk/linux-fb/gdkevents-fb.c
+++ b/gdk/linux-fb/gdkevents-fb.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdk.h"
#include "gdkprivate-fb.h"
#include "gdkinternals.h"
diff --git a/gdk/linux-fb/gdkfbmanager.c b/gdk/linux-fb/gdkfbmanager.c
index 2e82e89e6..845a5b507 100644
--- a/gdk/linux-fb/gdkfbmanager.c
+++ b/gdk/linux-fb/gdkfbmanager.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <glib.h>
#include <glib/gprintf.h>
diff --git a/gdk/linux-fb/gdkfbswitch.c b/gdk/linux-fb/gdkfbswitch.c
index b42c49cc4..009178bec 100644
--- a/gdk/linux-fb/gdkfbswitch.c
+++ b/gdk/linux-fb/gdkfbswitch.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <glib.h>
#include <stdlib.h>
diff --git a/gdk/linux-fb/gdkfont-fb.c b/gdk/linux-fb/gdkfont-fb.c
index de4fd19ed..b0bed69ee 100644
--- a/gdk/linux-fb/gdkfont-fb.c
+++ b/gdk/linux-fb/gdkfont-fb.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
diff --git a/gdk/linux-fb/gdkgc-fb.c b/gdk/linux-fb/gdkgc-fb.c
index 9a927fbd5..d1740306e 100644
--- a/gdk/linux-fb/gdkgc-fb.c
+++ b/gdk/linux-fb/gdkgc-fb.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <string.h>
#include <stdlib.h>
diff --git a/gdk/linux-fb/gdkgeometry-fb.c b/gdk/linux-fb/gdkgeometry-fb.c
index 3161b18cf..53fcd7c73 100644
--- a/gdk/linux-fb/gdkgeometry-fb.c
+++ b/gdk/linux-fb/gdkgeometry-fb.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include "gdkprivate-fb.h"
void
diff --git a/gdk/linux-fb/gdkglobals-fb.c b/gdk/linux-fb/gdkglobals-fb.c
index e2131d303..cd347c727 100644
--- a/gdk/linux-fb/gdkglobals-fb.c
+++ b/gdk/linux-fb/gdkglobals-fb.c
@@ -28,7 +28,7 @@
#include "gdktypes.h"
#include "gdkprivate-fb.h"
-#include "config.h"
+#include <config.h>
GdkWindow *_gdk_fb_pointer_grab_window, *_gdk_fb_keyboard_grab_window, *_gdk_fb_pointer_grab_confine = NULL;
gboolean _gdk_fb_pointer_grab_owner_events;
diff --git a/gdk/linux-fb/gdkinput-none.c b/gdk/linux-fb/gdkinput-none.c
index c92a6a5cd..0512fd708 100644
--- a/gdk/linux-fb/gdkinput-none.c
+++ b/gdk/linux-fb/gdkinput-none.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gdkinputprivate.h"
/*
diff --git a/gdk/linux-fb/gdkinput.c b/gdk/linux-fb/gdkinput.c
index 20acbabcb..ae9f01273 100644
--- a/gdk/linux-fb/gdkinput.c
+++ b/gdk/linux-fb/gdkinput.c
@@ -25,7 +25,7 @@
*/
#include <stdlib.h>
-#include "config.h"
+#include <config.h>
#include "gdkprivate-fb.h"
#include "gdkinput.h"
diff --git a/gdk/linux-fb/gdkkeyboard-fb.c b/gdk/linux-fb/gdkkeyboard-fb.c
index 1e21af46f..0c1f2aa0f 100644
--- a/gdk/linux-fb/gdkkeyboard-fb.c
+++ b/gdk/linux-fb/gdkkeyboard-fb.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <gdk/gdk.h>
#include <gdk/gdkinternals.h>
#include "gdkkeysyms.h"
diff --git a/gdk/linux-fb/gdkmain-fb.c b/gdk/linux-fb/gdkmain-fb.c
index b425f400c..0c1e09d68 100644
--- a/gdk/linux-fb/gdkmain-fb.c
+++ b/gdk/linux-fb/gdkmain-fb.c
@@ -24,7 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "config.h"
+#include <config.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/types.h>
diff --git a/gdk/linux-fb/gdkmouse-fb.c b/gdk/linux-fb/gdkmouse-fb.c
index 516c7138f..c95b0a09d 100644
--- a/gdk/linux-fb/gdkmouse-fb.c
+++ b/gdk/linux-fb/gdkmouse-fb.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <gdk/gdk.h>
#include <gdk/gdkinternals.h>
#include "gdkprivate-fb.h"
diff --git a/gdk/linux-fb/gdkpango-fb.c b/gdk/linux-fb/gdkpango-fb.c
index 11f2632c3..ccd15cdff 100644
--- a/gdk/linux-fb/gdkpango-fb.c
+++ b/gdk/linux-fb/gdkpango-fb.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <glib.h>
#include "gdkprivate-fb.h"
#include "gdkpango.h"
diff --git a/gdk/linux-fb/gdkpixmap-fb.c b/gdk/linux-fb/gdkpixmap-fb.c
index c15ebadaf..bafeb96e2 100644
--- a/gdk/linux-fb/gdkpixmap-fb.c
+++ b/gdk/linux-fb/gdkpixmap-fb.c
@@ -24,7 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "config.h"
+#include <config.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/gdk/linux-fb/gdkproperty-fb.c b/gdk/linux-fb/gdkproperty-fb.c
index 28c604e5a..3c7ebc5e1 100644
--- a/gdk/linux-fb/gdkproperty-fb.c
+++ b/gdk/linux-fb/gdkproperty-fb.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h>
#include <time.h>
diff --git a/gdk/linux-fb/gdkrender-fb.c b/gdk/linux-fb/gdkrender-fb.c
index e8992a820..912f66690 100644
--- a/gdk/linux-fb/gdkrender-fb.c
+++ b/gdk/linux-fb/gdkrender-fb.c
@@ -1,4 +1,4 @@
-#include "config.h"
+#include <config.h>
#include "gdkprivate-fb.h"
#include <string.h>
#include <signal.h>
diff --git a/gdk/linux-fb/gdkscreen-fb.c b/gdk/linux-fb/gdkscreen-fb.c
index cf3563c63..fd237c3fb 100644
--- a/gdk/linux-fb/gdkscreen-fb.c
+++ b/gdk/linux-fb/gdkscreen-fb.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdk.h"
#include "gdkprivate-fb.h"
diff --git a/gdk/linux-fb/gdkselection-fb.c b/gdk/linux-fb/gdkselection-fb.c
index 2966ebf84..33b5284f4 100644
--- a/gdk/linux-fb/gdkselection-fb.c
+++ b/gdk/linux-fb/gdkselection-fb.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h>
#include "gdkproperty.h"
diff --git a/gdk/linux-fb/gdkvisual-fb.c b/gdk/linux-fb/gdkvisual-fb.c
index 7fd01ae3a..4331bfc57 100644
--- a/gdk/linux-fb/gdkvisual-fb.c
+++ b/gdk/linux-fb/gdkvisual-fb.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdkvisual.h"
#include "gdkprivate-fb.h"
#include "gdkinternals.h"
diff --git a/gdk/linux-fb/gdkwindow-fb.c b/gdk/linux-fb/gdkwindow-fb.c
index 42ba7ef52..4c9419f25 100644
--- a/gdk/linux-fb/gdkwindow-fb.c
+++ b/gdk/linux-fb/gdkwindow-fb.c
@@ -25,7 +25,7 @@
*/
#include "gdk.h"
-#include "config.h"
+#include <config.h>
#include "gdkwindow.h"
#include "gdkinputprivate.h"
diff --git a/gdk/linux-fb/miarc.c b/gdk/linux-fb/miarc.c
index a4836d033..d937a534d 100644
--- a/gdk/linux-fb/miarc.c
+++ b/gdk/linux-fb/miarc.c
@@ -48,6 +48,7 @@ SOFTWARE.
#define _XOPEN_SOURCE_EXTENDED /* to get prototype for cbrt on some systems */
#define _XOPEN_SOURCE /* to get prototype for hypot on some systems */
+#include <config.h>
#include <string.h> /* memmove */
#include <limits.h>
diff --git a/gdk/linux-fb/midash.c b/gdk/linux-fb/midash.c
index c939976e7..6c087ee95 100644
--- a/gdk/linux-fb/midash.c
+++ b/gdk/linux-fb/midash.c
@@ -42,6 +42,7 @@ SOFTWARE.
******************************************************************/
/* $TOG: midash.c /main/14 1998/02/09 14:46:34 kaleb $ */
+#include <config.h>
#include "mi.h"
static miDashPtr CheckDashStorage();
diff --git a/gdk/linux-fb/mifillarc.c b/gdk/linux-fb/mifillarc.c
index 9ebf6e5b2..2283529fb 100644
--- a/gdk/linux-fb/mifillarc.c
+++ b/gdk/linux-fb/mifillarc.c
@@ -25,6 +25,7 @@ Author: Bob Scheifler, MIT X Consortium
/* $TOG: mifillarc.c /main/20 1998/02/09 14:46:52 kaleb $ */
+#include <config.h>
#include <math.h>
#include "mi.h"
#include "mifillarc.h"
diff --git a/gdk/linux-fb/mifpolycon.c b/gdk/linux-fb/mifpolycon.c
index dc1972157..9c94500b5 100644
--- a/gdk/linux-fb/mifpolycon.c
+++ b/gdk/linux-fb/mifpolycon.c
@@ -41,6 +41,7 @@ SOFTWARE.
******************************************************************/
/* $TOG: mifpolycon.c /main/13 1998/02/09 14:47:05 kaleb $ */
+#include <config.h>
#include <math.h>
#include "mi.h"
#include "mifpoly.h"
diff --git a/gdk/linux-fb/mipoly.c b/gdk/linux-fb/mipoly.c
index de1d740a2..3854a6031 100644
--- a/gdk/linux-fb/mipoly.c
+++ b/gdk/linux-fb/mipoly.c
@@ -51,6 +51,7 @@ SOFTWARE.
* to the appropriate routine to actually scan convert the
* polygon.
*/
+#include <config.h>
#include "mi.h"
extern gboolean miFillGeneralPoly(
diff --git a/gdk/linux-fb/mipolygen.c b/gdk/linux-fb/mipolygen.c
index 6ad63c7a0..d27d01c65 100644
--- a/gdk/linux-fb/mipolygen.c
+++ b/gdk/linux-fb/mipolygen.c
@@ -41,6 +41,7 @@ SOFTWARE.
******************************************************************/
/* $TOG: mipolygen.c /main/9 1998/02/09 14:47:51 kaleb $ */
+#include <config.h>
#include "mi.h"
#include "mipoly.h"
diff --git a/gdk/linux-fb/mipolyutil.c b/gdk/linux-fb/mipolyutil.c
index 3cf3f9f9e..a47d6a49e 100644
--- a/gdk/linux-fb/mipolyutil.c
+++ b/gdk/linux-fb/mipolyutil.c
@@ -42,6 +42,7 @@ SOFTWARE.
******************************************************************/
/* $TOG: mipolyutil.c /main/6 1998/02/09 14:48:12 kaleb $ */
+#include <config.h>
#include <limits.h>
#include "mi.h"
#include "miscanfill.h"
diff --git a/gdk/linux-fb/mispans.c b/gdk/linux-fb/mispans.c
index 4e2be42ab..0b9671681 100644
--- a/gdk/linux-fb/mispans.c
+++ b/gdk/linux-fb/mispans.c
@@ -44,6 +44,7 @@ SOFTWARE.
/* $TOG: mispans.c /main/7 1998/02/09 14:48:44 kaleb $ */
+#include <config.h>
#include "mi.h"
#include "mispans.h"
#include <string.h> /* for memmove */
diff --git a/gdk/linux-fb/miwideline.c b/gdk/linux-fb/miwideline.c
index 758b187b4..bc653554f 100644
--- a/gdk/linux-fb/miwideline.c
+++ b/gdk/linux-fb/miwideline.c
@@ -31,6 +31,7 @@ from The Open Group.
* bresenham zero-width lines, except walks an X edge
*/
+#include <config.h>
#include <stdio.h>
#ifdef _XOPEN_SOURCE
#include <math.h>
diff --git a/gdk/linux-fb/mizerclip.c b/gdk/linux-fb/mizerclip.c
index f3e55f823..52c5817a0 100644
--- a/gdk/linux-fb/mizerclip.c
+++ b/gdk/linux-fb/mizerclip.c
@@ -42,6 +42,7 @@ SOFTWARE.
******************************************************************/
+#include <config.h>
#include "mi.h"
#include "miline.h"
diff --git a/gdk/linux-fb/mizerline.c b/gdk/linux-fb/mizerline.c
index 700cd038f..0821bf210 100644
--- a/gdk/linux-fb/mizerline.c
+++ b/gdk/linux-fb/mizerline.c
@@ -43,6 +43,7 @@ SOFTWARE.
******************************************************************/
/* $TOG: mizerline.c /main/18 1998/02/09 14:49:45 kaleb $ */
+#include <config.h>
#include "mi.h"
#include "miline.h"
diff --git a/gdk/testgdk.c b/gdk/testgdk.c
index d5dd6242c..5971ad53e 100644
--- a/gdk/testgdk.c
+++ b/gdk/testgdk.c
@@ -35,6 +35,7 @@
* into separate functions.
*/
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/gdk/win32/bdfcursor.c b/gdk/win32/bdfcursor.c
index a97ff8142..d285770f4 100644
--- a/gdk/win32/bdfcursor.c
+++ b/gdk/win32/bdfcursor.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <string.h>
#include <stdio.h>
#include <errno.h>
diff --git a/gdk/win32/gdkcolor-win32.c b/gdk/win32/gdkcolor-win32.c
index 94ee7edc6..9974b04a4 100644
--- a/gdk/win32/gdkcolor-win32.c
+++ b/gdk/win32/gdkcolor-win32.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/gdk/win32/gdkcursor-win32.c b/gdk/win32/gdkcursor-win32.c
index b36c5c069..c3b3fe473 100644
--- a/gdk/win32/gdkcursor-win32.c
+++ b/gdk/win32/gdkcursor-win32.c
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gdkdisplay.h"
#include "gdkscreen.h"
#include "gdkcursor.h"
diff --git a/gdk/win32/gdkdisplay-win32.c b/gdk/win32/gdkdisplay-win32.c
index 6651f0b4a..4ecd1bb8e 100644
--- a/gdk/win32/gdkdisplay-win32.c
+++ b/gdk/win32/gdkdisplay-win32.c
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gdk.h"
#include "gdkprivate-win32.h"
diff --git a/gdk/win32/gdkdnd-win32.c b/gdk/win32/gdkdnd-win32.c
index 2cee5ba70..f6b857b6b 100644
--- a/gdk/win32/gdkdnd-win32.c
+++ b/gdk/win32/gdkdnd-win32.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h>
/* #define OLE2_DND */
diff --git a/gdk/win32/gdkdrawable-win32.c b/gdk/win32/gdkdrawable-win32.c
index d3bef3a84..a0ebf5e56 100644
--- a/gdk/win32/gdkdrawable-win32.c
+++ b/gdk/win32/gdkdrawable-win32.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <math.h>
#include <stdio.h>
#include <glib.h>
diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c
index b6b42a81e..1302db8ef 100644
--- a/gdk/win32/gdkevents-win32.c
+++ b/gdk/win32/gdkevents-win32.c
@@ -39,7 +39,7 @@
* not have TrackMouseEvent at all (?) --hb
*/
-#include "config.h"
+#include <config.h>
#include <glib/gprintf.h>
diff --git a/gdk/win32/gdkfont-win32.c b/gdk/win32/gdkfont-win32.c
index e76f12bfe..e52d63749 100644
--- a/gdk/win32/gdkfont-win32.c
+++ b/gdk/win32/gdkfont-win32.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
diff --git a/gdk/win32/gdkgc-win32.c b/gdk/win32/gdkgc-win32.c
index 8192f7337..cc3e71557 100644
--- a/gdk/win32/gdkgc-win32.c
+++ b/gdk/win32/gdkgc-win32.c
@@ -28,6 +28,7 @@
#define LINE_ATTRIBUTES (GDK_GC_LINE_WIDTH|GDK_GC_LINE_STYLE| \
GDK_GC_CAP_STYLE|GDK_GC_JOIN_STYLE)
+#include <config.h>
#include <string.h>
#include "gdkgc.h"
diff --git a/gdk/win32/gdkgeometry-win32.c b/gdk/win32/gdkgeometry-win32.c
index 8a3dc8ab8..66a03b0f7 100644
--- a/gdk/win32/gdkgeometry-win32.c
+++ b/gdk/win32/gdkgeometry-win32.c
@@ -29,6 +29,7 @@
* and Hans Breuer <hans@breuer.org>
*/
+#include <config.h>
#include "gdk.h" /* For gdk_rectangle_intersect */
#include "gdkregion.h"
#include "gdkregion-generic.h"
diff --git a/gdk/win32/gdkglobals-win32.c b/gdk/win32/gdkglobals-win32.c
index d96537021..321587728 100644
--- a/gdk/win32/gdkglobals-win32.c
+++ b/gdk/win32/gdkglobals-win32.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdktypes.h"
#include "gdkprivate-win32.h"
diff --git a/gdk/win32/gdkimage-win32.c b/gdk/win32/gdkimage-win32.c
index 60856cef4..7ed740db0 100644
--- a/gdk/win32/gdkimage-win32.c
+++ b/gdk/win32/gdkimage-win32.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdkimage.h"
#include "gdkpixmap.h"
#include "gdkscreen.h" /* gdk_screen_get_default() */
diff --git a/gdk/win32/gdkinput-win32.c b/gdk/win32/gdkinput-win32.c
index 261a416c9..f3c9c3517 100644
--- a/gdk/win32/gdkinput-win32.c
+++ b/gdk/win32/gdkinput-win32.c
@@ -25,7 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "config.h"
+#include <config.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/gdk/win32/gdkinput.c b/gdk/win32/gdkinput.c
index 97bba2b4c..68d215ffc 100644
--- a/gdk/win32/gdkinput.c
+++ b/gdk/win32/gdkinput.c
@@ -31,7 +31,7 @@
* be in x11/gdkinput-x11.c.
*/
-#include "config.h"
+#include <config.h>
#include "gdkdisplay.h"
#include "gdkinput.h"
diff --git a/gdk/win32/gdkkeys-win32.c b/gdk/win32/gdkkeys-win32.c
index 04a1c3e93..1756ef256 100644
--- a/gdk/win32/gdkkeys-win32.c
+++ b/gdk/win32/gdkkeys-win32.c
@@ -36,7 +36,7 @@
#include "gdkinternals.h"
#include "gdkkeysyms.h"
-#include "config.h"
+#include <config.h>
guint _gdk_keymap_serial = 0;
gboolean _gdk_keyboard_has_altgr = FALSE;
diff --git a/gdk/win32/gdkmain-win32.c b/gdk/win32/gdkmain-win32.c
index c8205500e..a8aa92ce6 100644
--- a/gdk/win32/gdkmain-win32.c
+++ b/gdk/win32/gdkmain-win32.c
@@ -25,7 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "config.h"
+#include <config.h>
#include <glib/gprintf.h>
#include <stdlib.h>
diff --git a/gdk/win32/gdkpango-win32.c b/gdk/win32/gdkpango-win32.c
index 26271cd36..732b27075 100644
--- a/gdk/win32/gdkpango-win32.c
+++ b/gdk/win32/gdkpango-win32.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gdkprivate-win32.h"
#include "gdkscreen.h"
#include "gdkpango.h"
diff --git a/gdk/win32/gdkpixmap-win32.c b/gdk/win32/gdkpixmap-win32.c
index a997cea99..d62b56545 100644
--- a/gdk/win32/gdkpixmap-win32.c
+++ b/gdk/win32/gdkpixmap-win32.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/gdk/win32/gdkproperty-win32.c b/gdk/win32/gdkproperty-win32.c
index d1bee10f8..5a0adc728 100644
--- a/gdk/win32/gdkproperty-win32.c
+++ b/gdk/win32/gdkproperty-win32.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h>
#include <stdlib.h>
#include <glib/gprintf.h>
diff --git a/gdk/win32/gdkscreen-win32.c b/gdk/win32/gdkscreen-win32.c
index cf69307d8..155be7a50 100644
--- a/gdk/win32/gdkscreen-win32.c
+++ b/gdk/win32/gdkscreen-win32.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gdk.h"
#include "gdkprivate-win32.h"
diff --git a/gdk/win32/gdkselection-win32.c b/gdk/win32/gdkselection-win32.c
index aa1285517..e0b0ca6d4 100644
--- a/gdk/win32/gdkselection-win32.c
+++ b/gdk/win32/gdkselection-win32.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h>
#include <stdlib.h>
diff --git a/gdk/win32/gdkvisual-win32.c b/gdk/win32/gdkvisual-win32.c
index c647c1163..d1d5a2eff 100644
--- a/gdk/win32/gdkvisual-win32.c
+++ b/gdk/win32/gdkvisual-win32.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdlib.h>
#include "gdkvisual.h"
diff --git a/gdk/win32/gdkwin32id.c b/gdk/win32/gdkwin32id.c
index 6cd73a34e..b5d1025cd 100644
--- a/gdk/win32/gdkwin32id.c
+++ b/gdk/win32/gdkwin32id.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <gdk/gdk.h>
#include "gdkprivate-win32.h"
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c
index 17380587a..a87136b33 100644
--- a/gdk/win32/gdkwindow-win32.c
+++ b/gdk/win32/gdkwindow-win32.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdlib.h>
#include "gdk.h" /* gdk_rectangle_intersect */
diff --git a/gdk/x11/gdkasync.c b/gdk/x11/gdkasync.c
index 0d3799810..7e906d966 100644
--- a/gdk/x11/gdkasync.c
+++ b/gdk/x11/gdkasync.c
@@ -43,6 +43,7 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
+#include <config.h>
#include <X11/Xlibint.h>
#include "gdkasync.h"
#include "gdkx.h"
diff --git a/gdk/x11/gdkcolor-x11.c b/gdk/x11/gdkcolor-x11.c
index 39b16a4ca..6265dcfc7 100644
--- a/gdk/x11/gdkcolor-x11.c
+++ b/gdk/x11/gdkcolor-x11.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <time.h>
#include "gdkcolor.h"
diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c
index 24b5a340f..ae50fc900 100644
--- a/gdk/x11/gdkcursor-x11.c
+++ b/gdk/x11/gdkcursor-x11.c
@@ -24,7 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "config.h"
+#include <config.h>
#include <X11/Xlib.h>
#include <X11/cursorfont.h>
#ifdef HAVE_XCURSOR
diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c
index feb3119f9..01c0aee26 100644
--- a/gdk/x11/gdkdnd-x11.c
+++ b/gdk/x11/gdkdnd-x11.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <string.h>
diff --git a/gdk/x11/gdkdrawable-x11.c b/gdk/x11/gdkdrawable-x11.c
index d18e9502e..2c3744b77 100644
--- a/gdk/x11/gdkdrawable-x11.c
+++ b/gdk/x11/gdkdrawable-x11.c
@@ -24,11 +24,11 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
+
#include "gdkx.h"
#include "gdkregion-generic.h"
-#include <config.h>
-
#include <pango/pangoxft.h>
#include <stdlib.h>
diff --git a/gdk/x11/gdkevents-x11.c b/gdk/x11/gdkevents-x11.c
index 3be4d0fa6..294dd1f80 100644
--- a/gdk/x11/gdkevents-x11.c
+++ b/gdk/x11/gdkevents-x11.c
@@ -24,6 +24,8 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
+
#include "gdk.h"
#include "gdkprivate-x11.h"
#include "gdkinternals.h"
@@ -36,12 +38,7 @@
#include "xsettings-client.h"
-#if HAVE_CONFIG_H
-# include <config.h>
-# if STDC_HEADERS
-# include <string.h>
-# endif
-#endif
+#include <string.h>
#include "gdkinputprivate.h"
diff --git a/gdk/x11/gdkfont-x11.c b/gdk/x11/gdkfont-x11.c
index ff299dc1e..ce2f977ed 100644
--- a/gdk/x11/gdkfont-x11.c
+++ b/gdk/x11/gdkfont-x11.c
@@ -26,6 +26,7 @@
#undef GDK_DISABLE_DEPRECATED
+#include <config.h>
#include <X11/Xlib.h>
#include <X11/Xos.h>
#include <locale.h>
diff --git a/gdk/x11/gdkgeometry-x11.c b/gdk/x11/gdkgeometry-x11.c
index 976b1aa98..6e3c29888 100644
--- a/gdk/x11/gdkgeometry-x11.c
+++ b/gdk/x11/gdkgeometry-x11.c
@@ -129,6 +129,7 @@
* unless the user has a _really_ huge screen.
*/
+#include <config.h>
#include "gdk.h" /* For gdk_rectangle_intersect */
#include "gdkprivate-x11.h"
#include "gdkx.h"
diff --git a/gdk/x11/gdkglobals-x11.c b/gdk/x11/gdkglobals-x11.c
index 7dd2a468a..5332bc5ed 100644
--- a/gdk/x11/gdkglobals-x11.c
+++ b/gdk/x11/gdkglobals-x11.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdio.h>
#include "gdktypes.h"
diff --git a/gdk/x11/gdkim-x11.c b/gdk/x11/gdkim-x11.c
index 263b149f1..bbcd39beb 100644
--- a/gdk/x11/gdkim-x11.c
+++ b/gdk/x11/gdkim-x11.c
@@ -24,8 +24,11 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
+
#include <locale.h>
#include <stdlib.h>
+#include <string.h>
#include "gdkx.h"
#include "gdk.h" /* For gdk_flush() */
@@ -34,13 +37,6 @@
#include "gdkinternals.h"
#include "gdkdisplay-x11.h"
-#if HAVE_CONFIG_H
-# include <config.h>
-# if STDC_HEADERS
-# include <string.h>
-# endif
-#endif
-
/* If this variable is FALSE, it indicates that we should
* avoid trying to use multibyte conversion functions and
diff --git a/gdk/x11/gdkinput-none.c b/gdk/x11/gdkinput-none.c
index 1c468e918..7f8a92f77 100644
--- a/gdk/x11/gdkinput-none.c
+++ b/gdk/x11/gdkinput-none.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gdkinputprivate.h"
#include "gdkdisplay-x11.h"
diff --git a/gdk/x11/gdkinput-x11.c b/gdk/x11/gdkinput-x11.c
index f1c86a8db..1f294e79f 100644
--- a/gdk/x11/gdkinput-x11.c
+++ b/gdk/x11/gdkinput-x11.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdkinputprivate.h"
#include "gdkinternals.h"
#include "gdkx.h"
diff --git a/gdk/x11/gdkinput-xfree.c b/gdk/x11/gdkinput-xfree.c
index f8befc6ea..88ec80ca9 100644
--- a/gdk/x11/gdkinput-xfree.c
+++ b/gdk/x11/gdkinput-xfree.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gdkinputprivate.h"
#include "gdkdisplay-x11.h"
diff --git a/gdk/x11/gdkinput.c b/gdk/x11/gdkinput.c
index eb9fc32ae..f9e653026 100644
--- a/gdk/x11/gdkinput.c
+++ b/gdk/x11/gdkinput.c
@@ -24,10 +24,11 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
+
#include <stdlib.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
-#include "config.h"
#include "gdkx.h"
#include "gdkinput.h"
diff --git a/gdk/x11/gdkkeys-x11.c b/gdk/x11/gdkkeys-x11.c
index d58f862dd..b369b89be 100644
--- a/gdk/x11/gdkkeys-x11.c
+++ b/gdk/x11/gdkkeys-x11.c
@@ -24,6 +24,8 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -39,8 +41,6 @@
#include "gdkdisplay-x11.h"
#include "gdkkeysyms.h"
-#include "config.h"
-
#ifdef HAVE_XKB
#include <X11/XKBlib.h>
diff --git a/gdk/x11/gdkmain-x11.c b/gdk/x11/gdkmain-x11.c
index 3f8462f0a..50f7df90d 100644
--- a/gdk/x11/gdkmain-x11.c
+++ b/gdk/x11/gdkmain-x11.c
@@ -24,7 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "config.h"
+#include <config.h>
#include <glib/gprintf.h>
#include <stdlib.h>
diff --git a/gdk/x11/gdkpixmap-x11.c b/gdk/x11/gdkpixmap-x11.c
index 9b4223425..83a0ec522 100644
--- a/gdk/x11/gdkpixmap-x11.c
+++ b/gdk/x11/gdkpixmap-x11.c
@@ -24,7 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "config.h"
+#include <config.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/gdk/x11/gdkproperty-x11.c b/gdk/x11/gdkproperty-x11.c
index 3f722492a..3c5057cdb 100644
--- a/gdk/x11/gdkproperty-x11.c
+++ b/gdk/x11/gdkproperty-x11.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <string.h>
diff --git a/gdk/x11/gdkscreen-x11.c b/gdk/x11/gdkscreen-x11.c
index 7bd7fcc95..f575ffa52 100644
--- a/gdk/x11/gdkscreen-x11.c
+++ b/gdk/x11/gdkscreen-x11.c
@@ -21,10 +21,11 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include <stdlib.h>
#include <string.h>
-#include <config.h>
#include <glib.h>
#include "gdkscreen.h"
#include "gdkscreen-x11.h"
diff --git a/gdk/x11/gdkselection-x11.c b/gdk/x11/gdkselection-x11.c
index ce11b5a40..5b37607be 100644
--- a/gdk/x11/gdkselection-x11.c
+++ b/gdk/x11/gdkselection-x11.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <string.h>
diff --git a/gdk/x11/gdkvisual-x11.c b/gdk/x11/gdkvisual-x11.c
index 25004749f..29bcf8e56 100644
--- a/gdk/x11/gdkvisual-x11.c
+++ b/gdk/x11/gdkvisual-x11.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 93bb3df6c..a4a26d14b 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -24,13 +24,14 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
+
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include <netinet/in.h>
#include <unistd.h>
#include "gdk.h"
-#include "config.h"
#include "gdkwindow.h"
#include "gdkasync.h"
diff --git a/gdk/x11/gdkxid.c b/gdk/x11/gdkxid.c
index ac851208b..43fef8cc1 100644
--- a/gdk/x11/gdkxid.c
+++ b/gdk/x11/gdkxid.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdkprivate-x11.h"
#include "gdkdisplay-x11.h"
#include <stdio.h>
diff --git a/gdk/x11/xsettings-client.c b/gdk/x11/xsettings-client.c
index 50c33ce80..46a562d0b 100644
--- a/gdk/x11/xsettings-client.c
+++ b/gdk/x11/xsettings-client.c
@@ -20,6 +20,7 @@
*
* Author: Owen Taylor, Red Hat, Inc.
*/
+#include <config.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/gdk/x11/xsettings-common.c b/gdk/x11/xsettings-common.c
index 3d7444046..97caf61e1 100644
--- a/gdk/x11/xsettings-common.c
+++ b/gdk/x11/xsettings-common.c
@@ -20,6 +20,7 @@
*
* Author: Owen Taylor, Red Hat, Inc.
*/
+#include <config.h>
#include "string.h"
#include "stdlib.h"
diff --git a/gtk/fnmatch.c b/gtk/fnmatch.c
index 476dcdcad..aafe8c39d 100644
--- a/gtk/fnmatch.c
+++ b/gtk/fnmatch.c
@@ -29,6 +29,7 @@
* Owen Taylor, 13 December 2002;
*/
+#include <config.h>
#include <string.h>
#include <glib.h>
diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c
index 1f5d029a3..59fb9d876 100644
--- a/gtk/gtkaccelgroup.c
+++ b/gtk/gtkaccelgroup.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h>
#include <stdlib.h>
diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c
index 86b993a66..474b40677 100644
--- a/gtk/gtkaccellabel.c
+++ b/gtk/gtkaccellabel.c
@@ -27,6 +27,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h>
#include "gtkaccellabel.h"
diff --git a/gtk/gtkaccelmap.c b/gtk/gtkaccelmap.c
index 80c8fdd7d..d21bd6d42 100644
--- a/gtk/gtkaccelmap.c
+++ b/gtk/gtkaccelmap.c
@@ -17,7 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#include "gtkaccelmap.h"
diff --git a/gtk/gtkaccessible.c b/gtk/gtkaccessible.c
index 0b48bca4e..43632a098 100644
--- a/gtk/gtkaccessible.c
+++ b/gtk/gtkaccessible.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include "gtkwidget.h"
diff --git a/gtk/gtkadjustment.c b/gtk/gtkadjustment.c
index de34f282c..d1c9d9b50 100644
--- a/gtk/gtkadjustment.c
+++ b/gtk/gtkadjustment.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkadjustment.h"
#include "gtkintl.h"
#include "gtkmarshalers.h"
diff --git a/gtk/gtkalignment.c b/gtk/gtkalignment.c
index ab38f6d28..b0aa0c02c 100644
--- a/gtk/gtkalignment.c
+++ b/gtk/gtkalignment.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkalignment.h"
#include "gtkintl.h"
diff --git a/gtk/gtkarrow.c b/gtk/gtkarrow.c
index c59657a9a..5054769dd 100644
--- a/gtk/gtkarrow.c
+++ b/gtk/gtkarrow.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <math.h>
#include "gtkarrow.h"
#include "gtkintl.h"
diff --git a/gtk/gtkaspectframe.c b/gtk/gtkaspectframe.c
index 78fd84e6e..316d5d34c 100644
--- a/gtk/gtkaspectframe.c
+++ b/gtk/gtkaspectframe.c
@@ -29,6 +29,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkaspectframe.h"
#include "gtkintl.h"
diff --git a/gtk/gtkbbox.c b/gtk/gtkbbox.c
index 472ff136e..978ef3e28 100644
--- a/gtk/gtkbbox.c
+++ b/gtk/gtkbbox.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkbbox.h"
#include "gtkintl.h"
diff --git a/gtk/gtkbin.c b/gtk/gtkbin.c
index 1160f8225..b9222c8f3 100644
--- a/gtk/gtkbin.c
+++ b/gtk/gtkbin.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkbin.h"
diff --git a/gtk/gtkbindings.c b/gtk/gtkbindings.c
index 9deafaed7..c87fa3a26 100644
--- a/gtk/gtkbindings.c
+++ b/gtk/gtkbindings.c
@@ -27,6 +27,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h>
#include <stdarg.h>
#include <gdkkeysyms.h>
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c
index 87fb1b794..6838c2e02 100644
--- a/gtk/gtkbox.c
+++ b/gtk/gtkbox.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkbox.h"
#include "gtkintl.h"
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index 84ea2bb56..9a992ab8d 100644
--- a/gtk/gtkbutton.c
+++ b/gtk/gtkbutton.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h>
#include "gtkalignment.h"
#include "gtkbutton.h"
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c
index 4e84cdeed..8c408e4e5 100644
--- a/gtk/gtkcalendar.c
+++ b/gtk/gtkcalendar.c
@@ -29,7 +29,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "config.h"
+#include <config.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
diff --git a/gtk/gtkcelleditable.c b/gtk/gtkcelleditable.c
index 25f5d0197..b4dab125e 100644
--- a/gtk/gtkcelleditable.c
+++ b/gtk/gtkcelleditable.c
@@ -18,6 +18,7 @@
*/
+#include <config.h>
#include "gtkcelleditable.h"
#include "gtkmarshalers.h"
diff --git a/gtk/gtkcelllayout.c b/gtk/gtkcelllayout.c
index 6dff24412..1234e974e 100644
--- a/gtk/gtkcelllayout.c
+++ b/gtk/gtkcelllayout.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtkcelllayout.h"
GType
diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c
index 5c47b18dd..cc92744c9 100644
--- a/gtk/gtkcellrenderer.c
+++ b/gtk/gtkcellrenderer.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtkcellrenderer.h"
#include "gtkintl.h"
#include "gtkmarshalers.h"
diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c
index 7f344dcbe..43772fa9e 100644
--- a/gtk/gtkcellrendererpixbuf.c
+++ b/gtk/gtkcellrendererpixbuf.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <stdlib.h>
#include "gtkcellrendererpixbuf.h"
#include "gtkintl.h"
diff --git a/gtk/gtkcellrendererseptext.c b/gtk/gtkcellrendererseptext.c
index 7c73d5556..f76a15b13 100644
--- a/gtk/gtkcellrendererseptext.c
+++ b/gtk/gtkcellrendererseptext.c
@@ -20,6 +20,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtkcellrendererseptext.h"
static void gtk_cell_renderer_sep_get_size (GtkCellRenderer *cell,
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c
index 92448abc3..47142b42f 100644
--- a/gtk/gtkcellrenderertext.c
+++ b/gtk/gtkcellrenderertext.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <stdlib.h>
#include "gtkcellrenderertext.h"
#include "gtkeditable.h"
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c
index efce7708b..145570a44 100644
--- a/gtk/gtkcellrenderertoggle.c
+++ b/gtk/gtkcellrenderertoggle.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <stdlib.h>
#include "gtkcellrenderertoggle.h"
#include "gtkintl.h"
diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c
index 452d8d6ca..0d1d9e1f4 100644
--- a/gtk/gtkcellview.c
+++ b/gtk/gtkcellview.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtkcellview.h"
#include "gtkcelllayout.h"
#include "gtkintl.h"
diff --git a/gtk/gtkcellviewmenuitem.c b/gtk/gtkcellviewmenuitem.c
index 0459eb0b2..cf4b21e68 100644
--- a/gtk/gtkcellviewmenuitem.c
+++ b/gtk/gtkcellviewmenuitem.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtkcellviewmenuitem.h"
#include "gtkcellview.h"
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c
index 77473b886..78a75b666 100644
--- a/gtk/gtkcheckbutton.c
+++ b/gtk/gtkcheckbutton.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkcheckbutton.h"
#include "gtkintl.h"
#include "gtklabel.h"
diff --git a/gtk/gtkcheckmenuitem.c b/gtk/gtkcheckmenuitem.c
index e20a2ed15..d37a85512 100644
--- a/gtk/gtkcheckmenuitem.c
+++ b/gtk/gtkcheckmenuitem.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkcheckmenuitem.h"
#include "gtkaccellabel.h"
#include "gtkintl.h"
diff --git a/gtk/gtkclipboard.c b/gtk/gtkclipboard.c
index 1a955fa8c..ba48ba26b 100644
--- a/gtk/gtkclipboard.c
+++ b/gtk/gtkclipboard.c
@@ -19,6 +19,7 @@
* Global clipboard abstraction.
*/
+#include <config.h>
#include <string.h>
#include "gtkclipboard.h"
diff --git a/gtk/gtkclist.c b/gtk/gtkclist.c
index 27de2ab46..2886ab32b 100644
--- a/gtk/gtkclist.c
+++ b/gtk/gtkclist.c
@@ -28,9 +28,11 @@
#undef GDK_DISABLE_DEPRECATED
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
+
#include <stdlib.h>
#include <string.h>
-#include "config.h"
+
#include "gtkmain.h"
#include "gtkclist.h"
#include "gtkbindings.h"
diff --git a/gtk/gtkcolorsel.c b/gtk/gtkcolorsel.c
index 0720c2844..b0d8856d5 100644
--- a/gtk/gtkcolorsel.c
+++ b/gtk/gtkcolorsel.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdkconfig.h"
#include <math.h>
diff --git a/gtk/gtkcolorseldialog.c b/gtk/gtkcolorseldialog.c
index 3622f6a33..764f32bb0 100644
--- a/gtk/gtkcolorseldialog.c
+++ b/gtk/gtkcolorseldialog.c
@@ -23,6 +23,7 @@
* files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <glib.h>
#include "gtkcolorseldialog.h"
#include "gtkframe.h"
diff --git a/gtk/gtkcombo.c b/gtk/gtkcombo.c
index 00fafbe99..045f2d578 100644
--- a/gtk/gtkcombo.c
+++ b/gtk/gtkcombo.c
@@ -30,6 +30,7 @@
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include <string.h>
#include "gtkarrow.h"
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 97e14bc63..28768b051 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtkcombobox.h"
#include "gtkarrow.h"
diff --git a/gtk/gtkcomboboxentry.c b/gtk/gtkcomboboxentry.c
index 25625f512..72f2e7d94 100644
--- a/gtk/gtkcomboboxentry.c
+++ b/gtk/gtkcomboboxentry.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtkcomboboxentry.h"
#include "gtkcelllayout.h"
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index b5f1049f0..cc326213b 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
diff --git a/gtk/gtkctree.c b/gtk/gtkctree.c
index c8ace0843..d66fbcb10 100644
--- a/gtk/gtkctree.c
+++ b/gtk/gtkctree.c
@@ -31,6 +31,7 @@
#undef GDK_DISABLE_DEPRECATED
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include <stdlib.h>
#include "gtkctree.h"
#include "gtkbindings.h"
diff --git a/gtk/gtkcurve.c b/gtk/gtkcurve.c
index 5dac89101..44983357c 100644
--- a/gtk/gtkcurve.c
+++ b/gtk/gtkcurve.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index 5b05b9d80..f6545776b 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkbutton.h"
#include "gtkdialog.h"
#include "gtkhbbox.h"
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index 840cfcc30..4dac76ed0 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdkconfig.h"
#include "gdk/gdkkeysyms.h"
diff --git a/gtk/gtkdrawingarea.c b/gtk/gtkdrawingarea.c
index 737870743..d56bff468 100644
--- a/gtk/gtkdrawingarea.c
+++ b/gtk/gtkdrawingarea.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkdrawingarea.h"
diff --git a/gtk/gtkeditable.c b/gtk/gtkeditable.c
index 16bc0de6a..01326cf37 100644
--- a/gtk/gtkeditable.c
+++ b/gtk/gtkeditable.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h>
#include "gtkeditable.h"
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 792c606c2..9d5509497 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h>
#include <pango/pango.h>
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c
index 0dbe15f6a..1a5b75463 100644
--- a/gtk/gtkentrycompletion.c
+++ b/gtk/gtkentrycompletion.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtkentrycompletion.h"
#include "gtkentryprivate.h"
#include "gtkcelllayout.h"
diff --git a/gtk/gtkeventbox.c b/gtk/gtkeventbox.c
index a15f9e520..d2c0892d5 100644
--- a/gtk/gtkeventbox.c
+++ b/gtk/gtkeventbox.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkeventbox.h"
#include "gtkintl.h"
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c
index 9497da21f..4f4c4e27c 100644
--- a/gtk/gtkfilechooser.c
+++ b/gtk/gtkfilechooser.c
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtkfilechooser.h"
#include "gtkfilechooserprivate.h"
#include "gtkfilesystem.h"
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index 7d805c39e..d37487adb 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gdk/gdkkeysyms.h"
#include "gtkalignment.h"
#include "gtkbindings.h"
@@ -3051,14 +3052,9 @@ gtk_file_chooser_default_select_path (GtkFileChooser *chooser,
{
GtkFileChooserDefault *impl = GTK_FILE_CHOOSER_DEFAULT (chooser);
GtkFilePath *parent_path;
- GError *err;
- err = NULL;
- if (!gtk_file_system_get_parent (impl->file_system, path, &parent_path, &err))
- {
- g_propagate_error (error, err);
- return FALSE;
- }
+ if (!gtk_file_system_get_parent (impl->file_system, path, &parent_path, error))
+ return FALSE;
if (!parent_path)
return _gtk_file_chooser_set_current_folder_path (chooser, path, error);
diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c
index 0816ef15b..2835b062e 100644
--- a/gtk/gtkfilechooserdialog.c
+++ b/gtk/gtkfilechooserdialog.c
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtkfilechooserdialog.h"
#include "gtkfilechooserwidget.h"
#include "gtkfilechooserutils.h"
diff --git a/gtk/gtkfilechooserembed.c b/gtk/gtkfilechooserembed.c
index 696efc50d..0705ff8f4 100644
--- a/gtk/gtkfilechooserembed.c
+++ b/gtk/gtkfilechooserembed.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include "gtkfilechooserembed.h"
#include "gtkmarshalers.h"
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c
index f601b54c6..383a2e191 100644
--- a/gtk/gtkfilechooserentry.c
+++ b/gtk/gtkfilechooserentry.c
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include "gtkcelllayout.h"
diff --git a/gtk/gtkfilechooserutils.c b/gtk/gtkfilechooserutils.c
index f95777188..43deeb052 100644
--- a/gtk/gtkfilechooserutils.c
+++ b/gtk/gtkfilechooserutils.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtkfilechooserutils.h"
#include "gtkfilechooser.h"
#include "gtkfilesystem.h"
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 6885fbc83..f6e325c8e 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtkfilechooserwidget.h"
#include "gtkfilechooserdefault.h"
#include "gtkfilechooserutils.h"
diff --git a/gtk/gtkfilefilter.c b/gtk/gtkfilefilter.c
index b2d5c394c..81e563392 100644
--- a/gtk/gtkfilefilter.c
+++ b/gtk/gtkfilefilter.c
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include "gtkfilefilter.h"
diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c
index d1be26993..805d937de 100644
--- a/gtk/gtkfilesel.c
+++ b/gtk/gtkfilesel.c
@@ -24,7 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "config.h"
+#include <config.h>
#include <stdio.h>
#include <sys/types.h>
diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c
index 2c018a9d4..5e903f83d 100644
--- a/gtk/gtkfilesystem.c
+++ b/gtk/gtkfilesystem.c
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <gmodule.h>
#include "gtkfilesystem.h"
#include "gtkicontheme.h"
diff --git a/gtk/gtkfilesystemmodel.c b/gtk/gtkfilesystemmodel.c
index 15bb974d6..ca0748139 100644
--- a/gtk/gtkfilesystemmodel.c
+++ b/gtk/gtkfilesystemmodel.c
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include "gtkfilesystemmodel.h"
diff --git a/gtk/gtkfilesystemunix.c b/gtk/gtkfilesystemunix.c
index 0b54133a7..88383c4d8 100644
--- a/gtk/gtkfilesystemunix.c
+++ b/gtk/gtkfilesystemunix.c
@@ -18,6 +18,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include "gtkfilesystem.h"
#include "gtkfilesystemunix.h"
#include "gtkicontheme.h"
diff --git a/gtk/gtkfilesystemwin32.c b/gtk/gtkfilesystemwin32.c
index 9fe541229..a1a5ec5a5 100644
--- a/gtk/gtkfilesystemwin32.c
+++ b/gtk/gtkfilesystemwin32.c
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtkfilesystem.h"
#include "gtkfilesystemwin32.h"
#include "gtkintl.h"
diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c
index caaff5644..95e162d2a 100644
--- a/gtk/gtkfixed.c
+++ b/gtk/gtkfixed.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkfixed.h"
#include "gtkintl.h"
diff --git a/gtk/gtkfontsel.c b/gtk/gtkfontsel.c
index ba635c671..1618c63a0 100644
--- a/gtk/gtkfontsel.c
+++ b/gtk/gtkfontsel.c
@@ -29,6 +29,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdlib.h>
#include <glib/gprintf.h>
#include <string.h>
diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c
index fa3272e59..ddb1c1fba 100644
--- a/gtk/gtkframe.c
+++ b/gtk/gtkframe.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h>
#include "gtkframe.h"
#include "gtklabel.h"
diff --git a/gtk/gtkgamma.c b/gtk/gtkgamma.c
index 7dd483b55..5360a02a2 100644
--- a/gtk/gtkgamma.c
+++ b/gtk/gtkgamma.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/gtk/gtkgc.c b/gtk/gtkgc.c
index aca5583cb..b4daf0228 100644
--- a/gtk/gtkgc.c
+++ b/gtk/gtkgc.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkgc.h"
diff --git a/gtk/gtkhandlebox.c b/gtk/gtkhandlebox.c
index b0d556eb9..132283fa1 100644
--- a/gtk/gtkhandlebox.c
+++ b/gtk/gtkhandlebox.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdlib.h>
#include "gtkhandlebox.h"
#include "gtkmain.h"
diff --git a/gtk/gtkhbbox.c b/gtk/gtkhbbox.c
index cf7932723..7e95d04a4 100644
--- a/gtk/gtkhbbox.c
+++ b/gtk/gtkhbbox.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkhbbox.h"
diff --git a/gtk/gtkhbox.c b/gtk/gtkhbox.c
index 90d1e63de..3a4c0de34 100644
--- a/gtk/gtkhbox.c
+++ b/gtk/gtkhbox.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkhbox.h"
diff --git a/gtk/gtkhpaned.c b/gtk/gtkhpaned.c
index 31c6b1bc5..a5c5a5267 100644
--- a/gtk/gtkhpaned.c
+++ b/gtk/gtkhpaned.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkhpaned.h"
static void gtk_hpaned_class_init (GtkHPanedClass *klass);
diff --git a/gtk/gtkhruler.c b/gtk/gtkhruler.c
index 31d6775a5..f91a1bad8 100644
--- a/gtk/gtkhruler.c
+++ b/gtk/gtkhruler.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <math.h>
#include <glib/gprintf.h>
#include <string.h>
diff --git a/gtk/gtkhscale.c b/gtk/gtkhscale.c
index 8df0401ff..b981e16a1 100644
--- a/gtk/gtkhscale.c
+++ b/gtk/gtkhscale.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/gtk/gtkhscrollbar.c b/gtk/gtkhscrollbar.c
index 3b3c2af44..26bf111f3 100644
--- a/gtk/gtkhscrollbar.c
+++ b/gtk/gtkhscrollbar.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkhscrollbar.h"
#include "gdk/gdkkeysyms.h"
#include "gtkintl.h"
diff --git a/gtk/gtkhseparator.c b/gtk/gtkhseparator.c
index fab4f43c0..d75212741 100644
--- a/gtk/gtkhseparator.c
+++ b/gtk/gtkhseparator.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkhseparator.h"
diff --git a/gtk/gtkhsv.c b/gtk/gtkhsv.c
index 7ec560f72..465edc8e6 100644
--- a/gtk/gtkhsv.c
+++ b/gtk/gtkhsv.c
@@ -22,6 +22,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <math.h>
#include <string.h>
#include "gtkhsv.h"
diff --git a/gtk/gtkiconfactory.c b/gtk/gtkiconfactory.c
index 0f7bac65a..a496cecf3 100644
--- a/gtk/gtkiconfactory.c
+++ b/gtk/gtkiconfactory.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
diff --git a/gtk/gtkiconthemeparser.c b/gtk/gtkiconthemeparser.c
index f048998b1..70931a85e 100644
--- a/gtk/gtkiconthemeparser.c
+++ b/gtk/gtkiconthemeparser.c
@@ -17,7 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#include <string.h>
#include <locale.h>
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index bb81924c3..eab67c7c4 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <math.h>
#include "gtkcontainer.h"
#include "gtkimage.h"
diff --git a/gtk/gtkimagemenuitem.c b/gtk/gtkimagemenuitem.c
index 2a633878e..eb0ccbb14 100644
--- a/gtk/gtkimagemenuitem.c
+++ b/gtk/gtkimagemenuitem.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkimagemenuitem.h"
#include "gtkaccellabel.h"
#include "gtkintl.h"
diff --git a/gtk/gtkimcontext.c b/gtk/gtkimcontext.c
index 9b5a6b964..e1c30c934 100644
--- a/gtk/gtkimcontext.c
+++ b/gtk/gtkimcontext.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include "gtkimcontext.h"
diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c
index 28f5a828c..53e970259 100644
--- a/gtk/gtkimcontextsimple.c
+++ b/gtk/gtkimcontextsimple.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <stdlib.h>
#include <gdk/gdkkeysyms.h>
diff --git a/gtk/gtkimmodule.c b/gtk/gtkimmodule.c
index 90f3f9468..e29975ced 100644
--- a/gtk/gtkimmodule.c
+++ b/gtk/gtkimmodule.c
@@ -24,6 +24,9 @@
* files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+
+#include <config.h>
+
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
@@ -34,7 +37,6 @@
#include "gtkimmodule.h"
#include "gtkimcontextsimple.h"
#include "gtkrc.h"
-#include "config.h"
#include "gtkintl.h"
/* Do *not* include "gtkprivate.h" in this file. If you do, the
diff --git a/gtk/gtkimmulticontext.c b/gtk/gtkimmulticontext.c
index 6a2e44f30..168cbc602 100644
--- a/gtk/gtkimmulticontext.c
+++ b/gtk/gtkimmulticontext.c
@@ -17,7 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#include <string.h>
#include <locale.h>
diff --git a/gtk/gtkinputdialog.c b/gtk/gtkinputdialog.c
index d2b521d48..facc809fa 100644
--- a/gtk/gtkinputdialog.c
+++ b/gtk/gtkinputdialog.c
@@ -32,6 +32,7 @@
*/
+#include <config.h>
#include <glib/gprintf.h>
#include <stdlib.h>
#include "gdk/gdkkeysyms.h"
diff --git a/gtk/gtkinvisible.c b/gtk/gtkinvisible.c
index 395438e05..937867704 100644
--- a/gtk/gtkinvisible.c
+++ b/gtk/gtkinvisible.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <gdk/gdk.h>
#include "gtkinvisible.h"
#include "gtkintl.h"
diff --git a/gtk/gtkitem.c b/gtk/gtkitem.c
index f41893336..9e10596cb 100644
--- a/gtk/gtkitem.c
+++ b/gtk/gtkitem.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkitem.h"
#include "gtkmarshalers.h"
diff --git a/gtk/gtkitemfactory.c b/gtk/gtkitemfactory.c
index 5fcb63eeb..df02808b7 100644
--- a/gtk/gtkitemfactory.c
+++ b/gtk/gtkitemfactory.c
@@ -27,7 +27,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "config.h"
+#include <config.h>
#include "gtkitemfactory.h"
#include "gtk/gtkmenubar.h"
diff --git a/gtk/gtkkeyhash.c b/gtk/gtkkeyhash.c
index beca28d3c..970f53d42 100644
--- a/gtk/gtkkeyhash.c
+++ b/gtk/gtkkeyhash.c
@@ -18,6 +18,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtkdebug.h"
#include "gtkkeyhash.h"
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index b8a5da446..91cfa1c48 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -23,6 +23,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <math.h>
#include <string.h>
#include "gtklabel.h"
diff --git a/gtk/gtklayout.c b/gtk/gtklayout.c
index 50c127502..e05038d77 100644
--- a/gtk/gtklayout.c
+++ b/gtk/gtklayout.c
@@ -28,6 +28,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdkconfig.h"
#include "gtklayout.h"
diff --git a/gtk/gtklist.c b/gtk/gtklist.c
index 59240ca61..f57a4788a 100644
--- a/gtk/gtklist.c
+++ b/gtk/gtklist.c
@@ -26,6 +26,7 @@
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include <string.h> /* memset */
#include "gtklist.h"
diff --git a/gtk/gtklistitem.c b/gtk/gtklistitem.c
index daf3fc246..5e0b67b49 100644
--- a/gtk/gtklistitem.c
+++ b/gtk/gtklistitem.c
@@ -26,6 +26,7 @@
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include "gtkbindings.h"
#include "gtklabel.h"
#include "gtklistitem.h"
diff --git a/gtk/gtkliststore.c b/gtk/gtkliststore.c
index 1013147f6..43e3af780 100644
--- a/gtk/gtkliststore.c
+++ b/gtk/gtkliststore.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include <gobject/gvaluecollector.h>
#include "gtktreemodel.h"
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index 08c49f91b..64f94bac4 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -24,6 +24,8 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
+
#include "gdkconfig.h"
#include <locale.h>
@@ -48,7 +50,6 @@
#include <pango/pango-utils.h> /* For pango_split_file_list */
-#include "config.h"
#include "gtkintl.h"
#include "gtkaccelmap.h"
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index a1e0ae7d8..80b2768a5 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -26,6 +26,7 @@
#define GTK_MENU_INTERNALS
+#include <config.h>
#include <string.h> /* memset */
#include "gdk/gdkkeysyms.h"
#include "gtkaccellabel.h"
diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c
index 31581ea9a..43a9a517d 100644
--- a/gtk/gtkmenubar.c
+++ b/gtk/gtkmenubar.c
@@ -26,6 +26,7 @@
#define GTK_MENU_INTERNALS
+#include <config.h>
#include "gdk/gdkkeysyms.h"
#include "gtkbindings.h"
#include "gtkmain.h"
diff --git a/gtk/gtkmenuitem.c b/gtk/gtkmenuitem.c
index 519fbab79..9e1a62c67 100644
--- a/gtk/gtkmenuitem.c
+++ b/gtk/gtkmenuitem.c
@@ -26,6 +26,7 @@
#define GTK_MENU_INTERNALS
+#include <config.h>
#include <string.h>
#include "gtkaccellabel.h"
#include "gtkmain.h"
diff --git a/gtk/gtkmenushell.c b/gtk/gtkmenushell.c
index b5e57c21f..c2a2e2329 100644
--- a/gtk/gtkmenushell.c
+++ b/gtk/gtkmenushell.c
@@ -26,6 +26,7 @@
#define GTK_MENU_INTERNALS
+#include <config.h>
#include "gdk/gdkkeysyms.h"
#include "gtkbindings.h"
#include "gtkmain.h"
diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c
index 441c0cda9..06a6ee187 100644
--- a/gtk/gtkmessagedialog.c
+++ b/gtk/gtkmessagedialog.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkmessagedialog.h"
#include "gtklabel.h"
#include "gtkhbox.h"
diff --git a/gtk/gtkmisc.c b/gtk/gtkmisc.c
index 20b1f64bb..1379b3969 100644
--- a/gtk/gtkmisc.c
+++ b/gtk/gtkmisc.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkcontainer.h"
#include "gtkmisc.h"
#include "gtkintl.h"
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 6a3ad39cd..9fde1d119 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtknotebook.h"
#include "gtkmain.h"
#include "gtkmenu.h"
diff --git a/gtk/gtkobject.c b/gtk/gtkobject.c
index 02251f95f..9f03a5dd5 100644
--- a/gtk/gtkobject.c
+++ b/gtk/gtkobject.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdarg.h>
#include <string.h>
#include <stdio.h>
diff --git a/gtk/gtkoldeditable.c b/gtk/gtkoldeditable.c
index 4785b4654..a95f78f01 100644
--- a/gtk/gtkoldeditable.c
+++ b/gtk/gtkoldeditable.c
@@ -26,6 +26,7 @@
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include <string.h>
#include "gdk/gdkkeysyms.h"
#include "gdk/gdki18n.h"
diff --git a/gtk/gtkoptionmenu.c b/gtk/gtkoptionmenu.c
index e45f47463..d3bbb0212 100644
--- a/gtk/gtkoptionmenu.c
+++ b/gtk/gtkoptionmenu.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkintl.h"
#include "gtkmenu.h"
#include "gtkmenuitem.h"
diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c
index 288dad721..618ecb171 100644
--- a/gtk/gtkpaned.c
+++ b/gtk/gtkpaned.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkintl.h"
#include "gtkpaned.h"
#include "gtkbindings.h"
diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c
index 7aa9faf22..8764ea379 100644
--- a/gtk/gtkpathbar.c
+++ b/gtk/gtkpathbar.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include "gtkpathbar.h"
#include "gtktogglebutton.h"
diff --git a/gtk/gtkpixmap.c b/gtk/gtkpixmap.c
index 62207b00d..c060f4838 100644
--- a/gtk/gtkpixmap.c
+++ b/gtk/gtkpixmap.c
@@ -30,6 +30,7 @@
#undef GDK_DISABLE_DEPRECATED
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include <math.h>
#include "gtkcontainer.h"
#include "gtkpixmap.h"
diff --git a/gtk/gtkpreview.c b/gtk/gtkpreview.c
index b9f20087e..06e8828c5 100644
--- a/gtk/gtkpreview.c
+++ b/gtk/gtkpreview.c
@@ -27,7 +27,7 @@
#undef GDK_DISABLE_DEPRECATED
#undef GTK_DISABLE_DEPRECATED
-#include "config.h"
+#include <config.h>
#include <math.h>
#include <string.h>
diff --git a/gtk/gtkprogress.c b/gtk/gtkprogress.c
index 4f95952e0..57eeed888 100644
--- a/gtk/gtkprogress.c
+++ b/gtk/gtkprogress.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <glib/gprintf.h>
#include <math.h>
#include <string.h>
diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c
index 8ce713fcb..4ca429463 100644
--- a/gtk/gtkradiobutton.c
+++ b/gtk/gtkradiobutton.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtklabel.h"
#include "gtkmarshalers.h"
#include "gtkradiobutton.h"
diff --git a/gtk/gtkradiomenuitem.c b/gtk/gtkradiomenuitem.c
index 3913f42d3..2e1e1f4cd 100644
--- a/gtk/gtkradiomenuitem.c
+++ b/gtk/gtkradiomenuitem.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkaccellabel.h"
#include "gtkmarshalers.h"
#include "gtkradiomenuitem.h"
diff --git a/gtk/gtkradiotoolbutton.c b/gtk/gtkradiotoolbutton.c
index e9fb3702a..c8bab4b04 100644
--- a/gtk/gtkradiotoolbutton.c
+++ b/gtk/gtkradiotoolbutton.c
@@ -20,6 +20,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtkradiotoolbutton.h"
#include "gtkradiobutton.h"
#include "gtkintl.h"
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 88520c91e..327bb20fa 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdio.h>
#include <math.h>
#include "gtkintl.h"
diff --git a/gtk/gtkrbtree.c b/gtk/gtkrbtree.c
index c3d9274b0..4cf36e85d 100644
--- a/gtk/gtkrbtree.c
+++ b/gtk/gtkrbtree.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtkrbtree.h"
#include "gtkdebug.h"
diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c
index 905ae29a2..5466b0ee3 100644
--- a/gtk/gtkrc.c
+++ b/gtk/gtkrc.c
@@ -24,7 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "config.h"
+#include <config.h>
#include <locale.h>
#ifdef HAVE_UNISTD_H
diff --git a/gtk/gtkruler.c b/gtk/gtkruler.c
index 2bf9be46a..3ae8d54d1 100644
--- a/gtk/gtkruler.c
+++ b/gtk/gtkruler.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkruler.h"
#include "gtkintl.h"
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index 3fdab558e..03c31c60c 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <math.h>
#include "gtkintl.h"
#include "gtkscale.h"
diff --git a/gtk/gtkscrollbar.c b/gtk/gtkscrollbar.c
index d682e766d..43aa0c6e6 100644
--- a/gtk/gtkscrollbar.c
+++ b/gtk/gtkscrollbar.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkscrollbar.h"
#include "gtkintl.h"
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c
index 6b42c1920..7538fa49f 100644
--- a/gtk/gtkscrolledwindow.c
+++ b/gtk/gtkscrolledwindow.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <math.h>
#include <gdk/gdkkeysyms.h>
#include "gtkbindings.h"
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c
index 7314e3f22..a47d6925c 100644
--- a/gtk/gtkselection.c
+++ b/gtk/gtkselection.c
@@ -51,6 +51,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdarg.h>
#include <string.h>
#include "gdk.h"
diff --git a/gtk/gtkseparator.c b/gtk/gtkseparator.c
index 83fdb2d1c..7a2b8d52d 100644
--- a/gtk/gtkseparator.c
+++ b/gtk/gtkseparator.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkseparator.h"
diff --git a/gtk/gtkseparatormenuitem.c b/gtk/gtkseparatormenuitem.c
index e160cc01d..37f21812a 100644
--- a/gtk/gtkseparatormenuitem.c
+++ b/gtk/gtkseparatormenuitem.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkseparatormenuitem.h"
G_DEFINE_TYPE(GtkSeparatorMenuItem, gtk_separator_menu_item, GTK_TYPE_MENU_ITEM);
diff --git a/gtk/gtkseparatortoolitem.c b/gtk/gtkseparatortoolitem.c
index cea119a8e..e36821147 100644
--- a/gtk/gtkseparatortoolitem.c
+++ b/gtk/gtkseparatortoolitem.c
@@ -21,6 +21,7 @@
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include "gtkseparatormenuitem.h"
#include "gtkseparatortoolitem.h"
#include "gtkintl.h"
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 2cfbc1cc3..ef2fb2e04 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -16,6 +16,7 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include "gtksettings.h"
#include "gtkrc.h"
#include "gtkintl.h"
diff --git a/gtk/gtksignal.c b/gtk/gtksignal.c
index 7f0e6502b..5e111bcc3 100644
--- a/gtk/gtksignal.c
+++ b/gtk/gtksignal.c
@@ -19,6 +19,7 @@
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include "gtksignal.h"
/* the real parameter limit is of course given by GSignal, bu we need
diff --git a/gtk/gtksizegroup.c b/gtk/gtksizegroup.c
index 8a90036c3..429729fee 100644
--- a/gtk/gtksizegroup.c
+++ b/gtk/gtksizegroup.c
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtkcontainer.h"
#include "gtkintl.h"
#include "gtkprivate.h"
diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c
index 3f59ceb4a..ebeaeb99c 100644
--- a/gtk/gtksocket.c
+++ b/gtk/gtksocket.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h>
#include "gdk/gdkkeysyms.h"
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index ebed987bb..7a65b5b02 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -27,6 +27,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
diff --git a/gtk/gtkstatusbar.c b/gtk/gtkstatusbar.c
index ffe114fee..5dc8de4fd 100644
--- a/gtk/gtkstatusbar.c
+++ b/gtk/gtkstatusbar.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkframe.h"
#include "gtklabel.h"
#include "gtkmarshalers.h"
diff --git a/gtk/gtkstock.c b/gtk/gtkstock.c
index 0bb528899..5aea0eaba 100644
--- a/gtk/gtkstock.c
+++ b/gtk/gtkstock.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h>
#include "gtkstock.h"
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 212e8f742..cf7a84280 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
diff --git a/gtk/gtktable.c b/gtk/gtktable.c
index fa69c4ee7..c029f049b 100644
--- a/gtk/gtktable.c
+++ b/gtk/gtktable.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtktable.h"
#include "gtkintl.h"
diff --git a/gtk/gtktearoffmenuitem.c b/gtk/gtktearoffmenuitem.c
index 1a2609eef..5df867bef 100644
--- a/gtk/gtktearoffmenuitem.c
+++ b/gtk/gtktearoffmenuitem.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkmenu.h"
#include "gtktearoffmenuitem.h"
diff --git a/gtk/gtktext.c b/gtk/gtktext.c
index 1d09a9f03..9811116bf 100644
--- a/gtk/gtktext.c
+++ b/gtk/gtktext.c
@@ -27,6 +27,7 @@
#undef GDK_DISABLE_DEPRECATED
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include <ctype.h>
#include <string.h>
#include "gdk/gdkkeysyms.h"
diff --git a/gtk/gtktextbtree.c b/gtk/gtktextbtree.c
index 7ffa3a3cc..b956fb499 100644
--- a/gtk/gtktextbtree.c
+++ b/gtk/gtktextbtree.c
@@ -53,6 +53,7 @@
*/
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
+#include <config.h>
#include "gtktextbtree.h"
#include <string.h>
#include <stdlib.h>
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c
index 3a72fc054..b327d50f2 100644
--- a/gtk/gtktextbuffer.c
+++ b/gtk/gtktextbuffer.c
@@ -25,6 +25,7 @@
*/
+#include <config.h>
#include <string.h>
#include <stdarg.h>
diff --git a/gtk/gtktextchild.c b/gtk/gtktextchild.c
index c33aa5117..1309144ad 100644
--- a/gtk/gtktextchild.c
+++ b/gtk/gtktextchild.c
@@ -48,6 +48,7 @@
*/
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
+#include <config.h>
#include "gtktextchild.h"
#include "gtktextbtree.h"
#include "gtktextlayout.h"
diff --git a/gtk/gtktextdisplay.c b/gtk/gtktextdisplay.c
index 889b62171..0bc45752c 100644
--- a/gtk/gtktextdisplay.c
+++ b/gtk/gtktextdisplay.c
@@ -75,6 +75,7 @@
*/
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
+#include <config.h>
#include "gtktextdisplay.h"
/* DO NOT go putting private headers in here. This file should only
* use the semi-public headers, as with gtktextview.c.
diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c
index b7ab25fa1..61bc142a7 100644
--- a/gtk/gtktextiter.c
+++ b/gtk/gtktextiter.c
@@ -25,6 +25,7 @@
*/
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
+#include <config.h>
#include "gtktextiter.h"
#include "gtktextbtree.h"
#include "gtktextiterprivate.h"
diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c
index 9c98dd789..8c6f54608 100644
--- a/gtk/gtktextlayout.c
+++ b/gtk/gtktextlayout.c
@@ -77,6 +77,7 @@
*/
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
+#include <config.h>
#include "gtkmarshalers.h"
#include "gtktextlayout.h"
#include "gtktextbtree.h"
diff --git a/gtk/gtktextmark.c b/gtk/gtktextmark.c
index 933840065..235fdd16d 100644
--- a/gtk/gtktextmark.c
+++ b/gtk/gtktextmark.c
@@ -48,6 +48,7 @@
*/
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
+#include <config.h>
#include "gtktextbtree.h"
static void gtk_text_mark_init (GtkTextMark *mark);
diff --git a/gtk/gtktextsegment.c b/gtk/gtktextsegment.c
index 5660b628d..10ba7fb6e 100644
--- a/gtk/gtktextsegment.c
+++ b/gtk/gtktextsegment.c
@@ -51,6 +51,7 @@
*/
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
+#include <config.h>
#include "gtktextbtree.h"
#include <string.h>
#include <stdlib.h>
diff --git a/gtk/gtktexttag.c b/gtk/gtktexttag.c
index afbbfb890..538da1d31 100644
--- a/gtk/gtktexttag.c
+++ b/gtk/gtktexttag.c
@@ -47,6 +47,7 @@
*
*/
+#include <config.h>
#include "gtkmain.h"
#include "gtktexttag.h"
#include "gtktexttypes.h"
diff --git a/gtk/gtktexttagtable.c b/gtk/gtktexttagtable.c
index 5e685eab4..bf82921eb 100644
--- a/gtk/gtktexttagtable.c
+++ b/gtk/gtktexttagtable.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include "gtktexttagtable.h"
#include "gtkmarshalers.h"
#include "gtktextbuffer.h" /* just for the lame notify_will_remove_tag hack */
diff --git a/gtk/gtktexttypes.c b/gtk/gtktexttypes.c
index dfe095af3..7575a6129 100644
--- a/gtk/gtktexttypes.c
+++ b/gtk/gtktexttypes.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include "gtktexttypes.h"
/* These are used to represent embedded non-character objects
diff --git a/gtk/gtktextutil.c b/gtk/gtktextutil.c
index 0c003f8c3..bfdd2e0e5 100644
--- a/gtk/gtktextutil.c
+++ b/gtk/gtktextutil.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtktextutil.h"
#include "gtkintl.h"
#include "gtkmenuitem.h"
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index 78f907da9..df8d87780 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h>
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
diff --git a/gtk/gtkthemes.c b/gtk/gtkthemes.c
index 70201b75c..3ce6616fd 100644
--- a/gtk/gtkthemes.c
+++ b/gtk/gtkthemes.c
@@ -25,12 +25,13 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <gmodule.h>
#include "gtkthemes.h"
#include "gtkrc.h"
-#include "config.h"
#include "gtkintl.h"
typedef struct _GtkThemeEngineClass GtkThemeEngineClass;
diff --git a/gtk/gtktipsquery.c b/gtk/gtktipsquery.c
index 389e6aa10..ac3ca7844 100644
--- a/gtk/gtktipsquery.c
+++ b/gtk/gtktipsquery.c
@@ -29,6 +29,7 @@
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include "gtktipsquery.h"
#include "gtksignal.h"
#include "gtktooltips.h"
diff --git a/gtk/gtktogglebutton.c b/gtk/gtktogglebutton.c
index 5c7398608..dc52e73b0 100644
--- a/gtk/gtktogglebutton.c
+++ b/gtk/gtktogglebutton.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtklabel.h"
#include "gtkmain.h"
#include "gtkmarshalers.h"
diff --git a/gtk/gtktoggletoolbutton.c b/gtk/gtktoggletoolbutton.c
index ae566df30..14d37720f 100644
--- a/gtk/gtktoggletoolbutton.c
+++ b/gtk/gtktoggletoolbutton.c
@@ -19,6 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtktoggletoolbutton.h"
#include "gtkcheckmenuitem.h"
#include "gtklabel.h"
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index f44feabb5..51d8180b9 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -31,6 +31,7 @@
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include "gtkarrow.h"
#include "gtktoolbar.h"
#include "gtkradiotoolbutton.h"
diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c
index 0796c89f1..24fd85f52 100644
--- a/gtk/gtktoolbutton.c
+++ b/gtk/gtktoolbutton.c
@@ -20,6 +20,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtktoolbutton.h"
#include "gtkbutton.h"
#include "gtkhbox.h"
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c
index 42c79cccf..04bdbccfe 100644
--- a/gtk/gtktoolitem.c
+++ b/gtk/gtktoolitem.c
@@ -20,6 +20,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtktoolitem.h"
#include "gtkmarshalers.h"
#include "gtktoolbar.h"
diff --git a/gtk/gtktooltips.c b/gtk/gtktooltips.c
index 7700c5b8a..02f80ac98 100644
--- a/gtk/gtktooltips.c
+++ b/gtk/gtktooltips.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
diff --git a/gtk/gtktree.c b/gtk/gtktree.c
index 7f4fb981c..7b8ad94ed 100644
--- a/gtk/gtktree.c
+++ b/gtk/gtktree.c
@@ -26,6 +26,7 @@
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include "gtkmain.h"
#include "gtkmarshalers.h"
#include "gtksignal.h"
diff --git a/gtk/gtktreedatalist.c b/gtk/gtktreedatalist.c
index b4bef80ce..d71e58024 100644
--- a/gtk/gtktreedatalist.c
+++ b/gtk/gtktreedatalist.c
@@ -20,6 +20,7 @@
* do not use it.
*/
+#include <config.h>
#include "gtktreedatalist.h"
#include <string.h>
static GMemChunk *tree_chunk = NULL;
diff --git a/gtk/gtktreednd.c b/gtk/gtktreednd.c
index e99bc617b..f4690e6f2 100644
--- a/gtk/gtktreednd.c
+++ b/gtk/gtktreednd.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include "gtktreednd.h"
diff --git a/gtk/gtktreeitem.c b/gtk/gtktreeitem.c
index d2036c3c8..57b4048db 100644
--- a/gtk/gtktreeitem.c
+++ b/gtk/gtktreeitem.c
@@ -26,6 +26,7 @@
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include "gtklabel.h"
#include "gtkeventbox.h"
#include "gtkpixmap.h"
diff --git a/gtk/gtktreemodel.c b/gtk/gtktreemodel.c
index e3f957ec3..995c02fae 100644
--- a/gtk/gtktreemodel.c
+++ b/gtk/gtktreemodel.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <stdlib.h>
#include <string.h>
#include <glib.h>
diff --git a/gtk/gtktreemodelfilter.c b/gtk/gtktreemodelfilter.c
index fc250c0d2..48410f3bc 100644
--- a/gtk/gtktreemodelfilter.c
+++ b/gtk/gtktreemodelfilter.c
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtktreemodelfilter.h"
#include "gtkintl.h"
#include "gtktreednd.h"
diff --git a/gtk/gtktreemodelsort.c b/gtk/gtktreemodelsort.c
index 3b0ccc5b0..8dcf2d716 100644
--- a/gtk/gtktreemodelsort.c
+++ b/gtk/gtktreemodelsort.c
@@ -37,6 +37,7 @@
* we warned you and we're not liable for any head injuries.
*/
+#include <config.h>
#include <string.h>
#include "gtktreemodelsort.h"
diff --git a/gtk/gtktreeselection.c b/gtk/gtktreeselection.c
index 94cd4b1d8..9333f966f 100644
--- a/gtk/gtktreeselection.c
+++ b/gtk/gtktreeselection.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtktreeselection.h"
#include "gtktreeprivate.h"
#include "gtkrbtree.h"
diff --git a/gtk/gtktreesortable.c b/gtk/gtktreesortable.c
index f9ad6fb3b..5f8b49536 100644
--- a/gtk/gtktreesortable.c
+++ b/gtk/gtktreesortable.c
@@ -18,6 +18,7 @@
*/
+#include <config.h>
#include "gtktreesortable.h"
#include "gtkmarshalers.h"
diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c
index 8b1999ba2..6f7bf8c84 100644
--- a/gtk/gtktreestore.c
+++ b/gtk/gtktreestore.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include <gobject/gvaluecollector.h>
#include "gtktreemodel.h"
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index d149c5f99..7b52d1355 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -18,6 +18,7 @@
*/
+#include <config.h>
#include <string.h>
#include <gdk/gdkkeysyms.h>
diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c
index 838010484..88c299f93 100644
--- a/gtk/gtktreeviewcolumn.c
+++ b/gtk/gtktreeviewcolumn.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#include "gtktreeviewcolumn.h"
#include "gtktreeview.h"
diff --git a/gtk/gtktypeutils.c b/gtk/gtktypeutils.c
index 40452f05b..c8d9da92b 100644
--- a/gtk/gtktypeutils.c
+++ b/gtk/gtktypeutils.c
@@ -26,6 +26,7 @@
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include <string.h> /* strcmp */
#include "gtktypeutils.h"
diff --git a/gtk/gtkvbbox.c b/gtk/gtkvbbox.c
index c2274f722..17fa2c391 100644
--- a/gtk/gtkvbbox.c
+++ b/gtk/gtkvbbox.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkvbbox.h"
diff --git a/gtk/gtkvbox.c b/gtk/gtkvbox.c
index 32fda5094..ef17b64b5 100644
--- a/gtk/gtkvbox.c
+++ b/gtk/gtkvbox.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkvbox.h"
diff --git a/gtk/gtkviewport.c b/gtk/gtkviewport.c
index edbb45b83..397f200b3 100644
--- a/gtk/gtkviewport.c
+++ b/gtk/gtkviewport.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkviewport.h"
#include "gtkintl.h"
#include "gtkmarshalers.h"
diff --git a/gtk/gtkvpaned.c b/gtk/gtkvpaned.c
index 221cd2dc0..f623fbbbe 100644
--- a/gtk/gtkvpaned.c
+++ b/gtk/gtkvpaned.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkvpaned.h"
static void gtk_vpaned_class_init (GtkVPanedClass *klass);
diff --git a/gtk/gtkvruler.c b/gtk/gtkvruler.c
index 5bb64cce6..b2f992f37 100644
--- a/gtk/gtkvruler.c
+++ b/gtk/gtkvruler.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <math.h>
#include <string.h>
#include "gtkvruler.h"
diff --git a/gtk/gtkvscale.c b/gtk/gtkvscale.c
index c7b8b9e5c..f559780dd 100644
--- a/gtk/gtkvscale.c
+++ b/gtk/gtkvscale.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/gtk/gtkvscrollbar.c b/gtk/gtkvscrollbar.c
index e10636e9d..fa10f729f 100644
--- a/gtk/gtkvscrollbar.c
+++ b/gtk/gtkvscrollbar.c
@@ -25,6 +25,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkvscrollbar.h"
#include "gdk/gdkkeysyms.h"
#include "gtkintl.h"
diff --git a/gtk/gtkvseparator.c b/gtk/gtkvseparator.c
index c3791d134..872fd54a8 100644
--- a/gtk/gtkvseparator.c
+++ b/gtk/gtkvseparator.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gtkvseparator.h"
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index a50b1e850..952a21fef 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdarg.h>
#include <string.h>
#include <locale.h>
diff --git a/gtk/gtkwindow-decorate.c b/gtk/gtkwindow-decorate.c
index 30c9a06bf..f0d6db56f 100644
--- a/gtk/gtkwindow-decorate.c
+++ b/gtk/gtkwindow-decorate.c
@@ -21,6 +21,7 @@
* Authors: Alexander Larsson <alexl@redhat.com>
*/
+#include <config.h>
#include "gtkprivate.h"
#include "gtkwindow.h"
#include "gtkmain.h"
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index b6d9da5c0..a9150d52e 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <string.h>
#include <limits.h>
#include "gdk/gdk.h"
diff --git a/gtk/gtkxembed.c b/gtk/gtkxembed.c
index 1c01fbb68..f1cc3e9a8 100644
--- a/gtk/gtkxembed.c
+++ b/gtk/gtkxembed.c
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtkmain.h"
#include "gtkprivate.h"
#include "gtkxembed.h"
diff --git a/gtk/queryimmodules.c b/gtk/queryimmodules.c
index b6eadf058..2fe5d61a7 100644
--- a/gtk/queryimmodules.c
+++ b/gtk/queryimmodules.c
@@ -19,7 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#include <glib.h>
#include <glib/gprintf.h>
diff --git a/gtk/theme-bits/decompose-bits.c b/gtk/theme-bits/decompose-bits.c
index d6b08f59f..099cc9d07 100644
--- a/gtk/theme-bits/decompose-bits.c
+++ b/gtk/theme-bits/decompose-bits.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <glib/gprintf.h>
#include <stdlib.h>
diff --git a/gtk/xdgmime/test-mime.c b/gtk/xdgmime/test-mime.c
index 5d9950665..7a669c9b1 100644
--- a/gtk/xdgmime/test-mime.c
+++ b/gtk/xdgmime/test-mime.c
@@ -25,6 +25,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "xdgmime.h"
#include "xdgmimeglob.h"
#include <string.h>
diff --git a/gtk/xdgmime/xdgmime.c b/gtk/xdgmime/xdgmime.c
index 44bc75413..e8734fb6c 100644
--- a/gtk/xdgmime/xdgmime.c
+++ b/gtk/xdgmime/xdgmime.c
@@ -25,6 +25,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "xdgmime.h"
#include "xdgmimeint.h"
#include "xdgmimeglob.h"
diff --git a/gtk/xdgmime/xdgmimeglob.c b/gtk/xdgmime/xdgmimeglob.c
index d267f7fa8..0be281ca7 100644
--- a/gtk/xdgmime/xdgmimeglob.c
+++ b/gtk/xdgmime/xdgmimeglob.c
@@ -25,6 +25,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "xdgmimeglob.h"
#include "xdgmimeint.h"
#include <stdlib.h>
diff --git a/gtk/xdgmime/xdgmimeint.c b/gtk/xdgmime/xdgmimeint.c
index 8dde2e0c2..1bfc512d4 100644
--- a/gtk/xdgmime/xdgmimeint.c
+++ b/gtk/xdgmime/xdgmimeint.c
@@ -25,6 +25,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "xdgmimeint.h"
#include <ctype.h>
#include <string.h>
diff --git a/gtk/xdgmime/xdgmimemagic.c b/gtk/xdgmime/xdgmimemagic.c
index fb506be76..bd2a4176a 100644
--- a/gtk/xdgmime/xdgmimemagic.c
+++ b/gtk/xdgmime/xdgmimemagic.c
@@ -25,6 +25,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <assert.h>
#include "xdgmimemagic.h"
#include "xdgmimeint.h"
diff --git a/modules/input/gtkimcontextxim.c b/modules/input/gtkimcontextxim.c
index 54a6482cc..93121e5a4 100644
--- a/modules/input/gtkimcontextxim.c
+++ b/modules/input/gtkimcontextxim.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "locale.h"
#include <string.h>
diff --git a/modules/input/imam-et.c b/modules/input/imam-et.c
index 2e3f659e6..1d4e8cf71 100644
--- a/modules/input/imam-et.c
+++ b/modules/input/imam-et.c
@@ -25,6 +25,7 @@
*
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
diff --git a/modules/input/imcedilla.c b/modules/input/imcedilla.c
index 3c76b686d..fa0152693 100644
--- a/modules/input/imcedilla.c
+++ b/modules/input/imcedilla.c
@@ -20,6 +20,7 @@
*
*/
+#include <config.h>
#include <string.h>
#include <gdk/gdkkeysyms.h>
diff --git a/modules/input/imcyrillic-translit.c b/modules/input/imcyrillic-translit.c
index ccd2bc414..12a0bc228 100644
--- a/modules/input/imcyrillic-translit.c
+++ b/modules/input/imcyrillic-translit.c
@@ -20,6 +20,7 @@
*
*/
+#include <config.h>
#include <string.h>
#include <gdk/gdkkeysyms.h>
diff --git a/modules/input/iminuktitut.c b/modules/input/iminuktitut.c
index d57d72dba..2b8207b82 100644
--- a/modules/input/iminuktitut.c
+++ b/modules/input/iminuktitut.c
@@ -23,6 +23,7 @@
*
*/
+#include <config.h>
#include <string.h>
#include <gdk/gdkkeysyms.h>
diff --git a/modules/input/imipa.c b/modules/input/imipa.c
index 957c066f6..2c98c6562 100644
--- a/modules/input/imipa.c
+++ b/modules/input/imipa.c
@@ -20,6 +20,7 @@
*
*/
+#include <config.h>
#include <string.h>
#include <gdk/gdkkeysyms.h>
diff --git a/modules/input/imthai-broken.c b/modules/input/imthai-broken.c
index 98f392146..9980bc32c 100644
--- a/modules/input/imthai-broken.c
+++ b/modules/input/imthai-broken.c
@@ -23,6 +23,7 @@
*
*/
+#include <config.h>
#include <string.h>
#include <gdk/gdkkeysyms.h>
diff --git a/modules/input/imti-er.c b/modules/input/imti-er.c
index e1905c70a..dbc45b88c 100644
--- a/modules/input/imti-er.c
+++ b/modules/input/imti-er.c
@@ -25,6 +25,7 @@
*
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
diff --git a/modules/input/imti-et.c b/modules/input/imti-et.c
index 2a2b28d07..ec8408abc 100644
--- a/modules/input/imti-et.c
+++ b/modules/input/imti-et.c
@@ -25,6 +25,7 @@
*
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
diff --git a/modules/input/imviqr.c b/modules/input/imviqr.c
index 977318ea1..8e03a0e63 100644
--- a/modules/input/imviqr.c
+++ b/modules/input/imviqr.c
@@ -23,6 +23,7 @@
*
*/
+#include <config.h>
#include <string.h>
#include <gdk/gdkkeysyms.h>
diff --git a/modules/input/imxim.c b/modules/input/imxim.c
index cb719058e..57bef94c8 100644
--- a/modules/input/imxim.c
+++ b/modules/input/imxim.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gtk/gtkintl.h"
#include "gtk/gtkimmodule.h"
#include "gtkimcontextxim.h"
diff --git a/tests/prop-editor.c b/tests/prop-editor.c
index 33e470e6a..5d18c7d8c 100644
--- a/tests/prop-editor.c
+++ b/tests/prop-editor.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <string.h>
#undef GTK_DISABLE_DEPRECATED
diff --git a/tests/simple.c b/tests/simple.c
index 9e57e357a..46dfd15d5 100644
--- a/tests/simple.c
+++ b/tests/simple.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <gtk/gtk.h>
diff --git a/tests/stresstest-toolbar.c b/tests/stresstest-toolbar.c
index 370acc1bd..74fbcbf47 100644
--- a/tests/stresstest-toolbar.c
+++ b/tests/stresstest-toolbar.c
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include <gtk/gtk.h>
typedef struct _Info Info;
diff --git a/tests/testactions.c b/tests/testactions.c
index 9c3939b9a..8acb5ca11 100644
--- a/tests/testactions.c
+++ b/tests/testactions.c
@@ -1,4 +1,5 @@
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include <gtk/gtk.h>
static GtkActionGroup *action_group = NULL;
diff --git a/tests/testcalendar.c b/tests/testcalendar.c
index ed0f480d1..618de95d1 100644
--- a/tests/testcalendar.c
+++ b/tests/testcalendar.c
@@ -18,6 +18,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/tests/testcombo.c b/tests/testcombo.c
index f5a02c454..2fc79715d 100644
--- a/tests/testcombo.c
+++ b/tests/testcombo.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <gtk/gtk.h>
#include <gtk/gtkcellview.h>
#include <gtk/gtkcellviewmenuitem.h>
diff --git a/tests/testcombochange.c b/tests/testcombochange.c
index 965460f55..f673a4066 100644
--- a/tests/testcombochange.c
+++ b/tests/testcombochange.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <gtk/gtk.h>
#include <stdarg.h>
diff --git a/tests/testdnd.c b/tests/testdnd.c
index 88ff0345e..55d50f16a 100644
--- a/tests/testdnd.c
+++ b/tests/testdnd.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include "gtk/gtk.h"
/* Target side drag signals */
diff --git a/tests/testentrycompletion.c b/tests/testentrycompletion.c
index a05b90d04..fdee669ea 100644
--- a/tests/testentrycompletion.c
+++ b/tests/testentrycompletion.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
/* Don't copy this bad example; inline RGB data is always a better
diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c
index a64f629a2..24cd1604b 100644
--- a/tests/testfilechooser.c
+++ b/tests/testfilechooser.c
@@ -1,4 +1,4 @@
-#include "config.h"
+#include <config.h>
#include <string.h>
#include <sys/types.h>
@@ -300,31 +300,69 @@ update_preview_cb (GtkFileChooser *chooser)
}
static void
+set_current_folder (GtkFileChooser *chooser,
+ const char *name)
+{
+ if (!gtk_file_chooser_set_current_folder (chooser, name))
+ {
+ GtkWidget *dialog;
+
+ dialog = gtk_message_dialog_new (GTK_WINDOW (chooser),
+ GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_ERROR,
+ GTK_BUTTONS_CLOSE,
+ "Could not set the folder to %s",
+ name);
+ gtk_dialog_run (GTK_DIALOG (dialog));
+ gtk_widget_destroy (dialog);
+ }
+}
+
+static void
set_folder_nonexistent_cb (GtkButton *button,
GtkFileChooser *chooser)
{
- gtk_file_chooser_set_current_folder (chooser, "/nonexistent");
+ set_current_folder (chooser, "/nonexistent");
}
static void
set_folder_existing_nonexistent_cb (GtkButton *button,
GtkFileChooser *chooser)
{
- gtk_file_chooser_set_current_folder (chooser, "/usr/nonexistent");
+ set_current_folder (chooser, "/usr/nonexistent");
+}
+
+static void
+set_filename (GtkFileChooser *chooser,
+ const char *name)
+{
+ if (!gtk_file_chooser_set_filename (chooser, name))
+ {
+ GtkWidget *dialog;
+
+ dialog = gtk_message_dialog_new (GTK_WINDOW (chooser),
+ GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_ERROR,
+ GTK_BUTTONS_CLOSE,
+ "Could not select %s",
+ name);
+ gtk_dialog_run (GTK_DIALOG (dialog));
+ gtk_widget_destroy (dialog);
+ }
}
static void
set_filename_nonexistent_cb (GtkButton *button,
GtkFileChooser *chooser)
{
- gtk_file_chooser_set_filename (chooser, "/nonexistent");
+ set_filename (chooser, "/nonexistent");
}
static void
set_filename_existing_nonexistent_cb (GtkButton *button,
GtkFileChooser *chooser)
{
- gtk_file_chooser_set_filename (chooser, "/usr/nonexistent");
+ set_filename (chooser, "/usr/nonexistent");
}
int
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 6f30fe94f..e3949ccad 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -26,7 +26,7 @@
#undef GTK_DISABLE_DEPRECATED
-#include "config.h"
+#include <config.h>
#undef G_LOG_DOMAIN
diff --git a/tests/testicontheme.c b/tests/testicontheme.c
index 0290443f5..e4ecccd1d 100644
--- a/tests/testicontheme.c
+++ b/tests/testicontheme.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <gtk/gtkicontheme.h>
#include <stdlib.h>
#include <string.h>
diff --git a/tests/testinput.c b/tests/testinput.c
index ad14b088b..275ee19f1 100644
--- a/tests/testinput.c
+++ b/tests/testinput.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdio.h>
#include "gtk/gtk.h"
diff --git a/tests/testmenus.c b/tests/testmenus.c
index 299050d66..f4c963872 100644
--- a/tests/testmenus.c
+++ b/tests/testmenus.c
@@ -7,6 +7,7 @@
*/
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
diff --git a/tests/testmerge.c b/tests/testmerge.c
index 98f508cbe..d1c6e4781 100644
--- a/tests/testmerge.c
+++ b/tests/testmerge.c
@@ -1,4 +1,4 @@
-#include "config.h"
+#include <config.h>
#include <stdio.h>
#include <string.h>
diff --git a/tests/testmultidisplay.c b/tests/testmultidisplay.c
index 975b4caf7..060202a5d 100644
--- a/tests/testmultidisplay.c
+++ b/tests/testmultidisplay.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <gtk/gtk.h>
#include <gtk/gtkstock.h>
#include <gdk/gdk.h>
diff --git a/tests/testmultiscreen.c b/tests/testmultiscreen.c
index 04a83157e..ba7170e17 100644
--- a/tests/testmultiscreen.c
+++ b/tests/testmultiscreen.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <gtk/gtk.h>
static GtkWidget **images;
diff --git a/tests/testrgb.c b/tests/testrgb.c
index 52cf9878d..d145e7475 100644
--- a/tests/testrgb.c
+++ b/tests/testrgb.c
@@ -17,7 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#include <config.h>
#include <glib.h>
diff --git a/tests/testselection.c b/tests/testselection.c
index 3db76c8d2..c430073b6 100644
--- a/tests/testselection.c
+++ b/tests/testselection.c
@@ -26,6 +26,7 @@
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include <stdio.h>
#include <string.h>
#define GTK_ENABLE_BROKEN
diff --git a/tests/testsocket.c b/tests/testsocket.c
index 85a7192d7..682a3354c 100644
--- a/tests/testsocket.c
+++ b/tests/testsocket.c
@@ -1,5 +1,6 @@
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include <gtk/gtk.h>
#include <string.h>
diff --git a/tests/testsocket_child.c b/tests/testsocket_child.c
index ae24efd89..d0bbbb6bd 100644
--- a/tests/testsocket_child.c
+++ b/tests/testsocket_child.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/tests/testsocket_common.c b/tests/testsocket_common.c
index 2e2aa0532..9fc246c43 100644
--- a/tests/testsocket_common.c
+++ b/tests/testsocket_common.c
@@ -1,5 +1,6 @@
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include "x11/gdkx.h"
#include <gtk/gtk.h>
diff --git a/tests/testtext.c b/tests/testtext.c
index ef22c2b05..9aa6572d2 100644
--- a/tests/testtext.c
+++ b/tests/testtext.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <stdio.h>
#include <sys/stat.h>
#include <errno.h>
diff --git a/tests/testtextbuffer.c b/tests/testtextbuffer.c
index 808eea6fa..862285141 100644
--- a/tests/testtextbuffer.c
+++ b/tests/testtextbuffer.c
@@ -1,6 +1,7 @@
/* Simplistic test suite */
+#include <config.h>
#include <stdio.h>
#include <string.h>
diff --git a/tests/testthreads.c b/tests/testthreads.c
index 2d1e62f1d..f3aaeafa3 100644
--- a/tests/testthreads.c
+++ b/tests/testthreads.c
@@ -27,7 +27,7 @@
#include <stdio.h>
#include <unistd.h>
#include <gtk/gtk.h>
-#include "config.h"
+#include <config.h>
#ifdef USE_PTHREADS
#include <pthread.h>
diff --git a/tests/testtoolbar.c b/tests/testtoolbar.c
index c6e8d8237..3d19af6b4 100644
--- a/tests/testtoolbar.c
+++ b/tests/testtoolbar.c
@@ -20,6 +20,7 @@
* Boston, MA 02111-1307, USA.
*/
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include <gtk/gtk.h>
#include "prop-editor.h"
diff --git a/tests/testtreecolumns.c b/tests/testtreecolumns.c
index 660d4650b..1018f4ccf 100644
--- a/tests/testtreecolumns.c
+++ b/tests/testtreecolumns.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <gtk/gtk.h>
/*
diff --git a/tests/testtreeedit.c b/tests/testtreeedit.c
index 5cf209023..8303d39fb 100644
--- a/tests/testtreeedit.c
+++ b/tests/testtreeedit.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <gtk/gtk.h>
typedef struct {
diff --git a/tests/testtreeflow.c b/tests/testtreeflow.c
index ffc0b8650..6f87df0cb 100644
--- a/tests/testtreeflow.c
+++ b/tests/testtreeflow.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <gtk/gtk.h>
GtkTreeModel *model = NULL;
diff --git a/tests/testtreefocus.c b/tests/testtreefocus.c
index 5e2993b7f..123a88b37 100644
--- a/tests/testtreefocus.c
+++ b/tests/testtreefocus.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <gtk/gtk.h>
typedef struct _TreeStruct TreeStruct;
diff --git a/tests/testtreesort.c b/tests/testtreesort.c
index 3801c7b76..74b5c276e 100644
--- a/tests/testtreesort.c
+++ b/tests/testtreesort.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <gtk/gtk.h>
#include "../gtk/gtktreedatalist.h"
diff --git a/tests/testtreeview.c b/tests/testtreeview.c
index 4dc4b586f..cedf768c7 100644
--- a/tests/testtreeview.c
+++ b/tests/testtreeview.c
@@ -1,4 +1,5 @@
#undef GTK_DISABLE_DEPRECATED
+#include <config.h>
#include <string.h>
#include "prop-editor.h"
#include <gtk/gtk.h>
diff --git a/tests/testxinerama.c b/tests/testxinerama.c
index 80570a1ba..5517d4e64 100644
--- a/tests/testxinerama.c
+++ b/tests/testxinerama.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <stdlib.h>
#include <gtk/gtk.h>
diff --git a/tests/treestoretest.c b/tests/treestoretest.c
index 1946d9e04..f921560a5 100644
--- a/tests/treestoretest.c
+++ b/tests/treestoretest.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <gtk/gtk.h>
#include <stdlib.h>
#include <string.h>