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 96ad6a5d4d..958b0beff7 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 96ad6a5d4d..958b0beff7 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 96ad6a5d4d..958b0beff7 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 96ad6a5d4d..958b0beff7 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 96ad6a5d4d..958b0beff7 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 78bcea481c..50abb941bd 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 14aca5a7f5..73d4b23531 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 35c5ab4ff9..e1b6e69e0d 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 11500876c9..31f16edffe 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 e0571c9165..bfa4ad1193 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 9157f06fcf..0ba668c41f 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 cde2cc1695..40cbcfd931 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 fd5a846689..cfa896cc20 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 fbcd856d0f..35c2686889 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 e457a02660..4889dcc9c4 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 d9262c54e5..e34e8496b9 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 990e489921..51ec16596b 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 f4a893f2a7..2142e72583 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 98dbe24556..792f1a3615 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 8547d8fc4f..67c8570dec 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 973196298a..d01475479c 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 54470ddb8c..d4cc4d7359 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 2365aa2515..6c9115d1e2 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 a5c61b595b..ab2e823d51 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 c83143570c..906caaf41f 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 83ec387bc4..f4faa9a2d5 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 c54c4b2549..e826c05679 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 7dfb74bebc..1ffca7d77a 100644
--- a/examples/arrow/arrow.c
+++ b/examples/arrow/arrow.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
/* Create an Arrow widget with the specified parameters
diff --git a/examples/aspectframe/aspectframe.c b/examples/aspectframe/aspectframe.c
index f32da1b9d2..dcd3a56ced 100644
--- a/examples/aspectframe/aspectframe.c
+++ b/examples/aspectframe/aspectframe.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
int main( int argc,
diff --git a/examples/base/base.c b/examples/base/base.c
index 4dc29da623..bb7addc32c 100644
--- a/examples/base/base.c
+++ b/examples/base/base.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
int main( int argc,
diff --git a/examples/buttonbox/buttonbox.c b/examples/buttonbox/buttonbox.c
index c70700ac74..0bf0fcc91f 100644
--- a/examples/buttonbox/buttonbox.c
+++ b/examples/buttonbox/buttonbox.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
/* Create a Button Box with the specified parameters */
diff --git a/examples/buttons/buttons.c b/examples/buttons/buttons.c
index 922026346d..44190844b3 100644
--- a/examples/buttons/buttons.c
+++ b/examples/buttons/buttons.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <stdlib.h>
#include <gtk/gtk.h>
diff --git a/examples/calendar/calendar.c b/examples/calendar/calendar.c
index 87100e509e..b475563c4b 100644
--- a/examples/calendar/calendar.c
+++ b/examples/calendar/calendar.c
@@ -17,6 +17,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
#include <gtk/gtk.h>
diff --git a/examples/clist/clist.c b/examples/clist/clist.c
index 4b087606ca..6c52751c1a 100644
--- a/examples/clist/clist.c
+++ b/examples/clist/clist.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
/* User clicked the "Add List" button. */
diff --git a/examples/colorsel/colorsel.c b/examples/colorsel/colorsel.c
index a6a5669d16..94a9455cbe 100644
--- a/examples/colorsel/colorsel.c
+++ b/examples/colorsel/colorsel.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <glib.h>
#include <gdk/gdk.h>
#include <gtk/gtk.h>
diff --git a/examples/entry/entry.c b/examples/entry/entry.c
index 32d35cdb49..10e559f73c 100644
--- a/examples/entry/entry.c
+++ b/examples/entry/entry.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <gtk/gtk.h>
diff --git a/examples/eventbox/eventbox.c b/examples/eventbox/eventbox.c
index ef56da93ea..45dfedb8c9 100644
--- a/examples/eventbox/eventbox.c
+++ b/examples/eventbox/eventbox.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <stdlib.h>
#include <gtk/gtk.h>
diff --git a/examples/filesel/filesel.c b/examples/filesel/filesel.c
index 8e26725ec5..85527fb304 100644
--- a/examples/filesel/filesel.c
+++ b/examples/filesel/filesel.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
/* Get the selected filename and print it to the console */
diff --git a/examples/fixed/fixed.c b/examples/fixed/fixed.c
index 3a58beeb53..42886ba764 100644
--- a/examples/fixed/fixed.c
+++ b/examples/fixed/fixed.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
/* I'm going to be lazy and use some global variables to
diff --git a/examples/frame/frame.c b/examples/frame/frame.c
index 078fbdd672..141b63c047 100644
--- a/examples/frame/frame.c
+++ b/examples/frame/frame.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
int main( int argc,
diff --git a/examples/gtkdial/dial_test.c b/examples/gtkdial/dial_test.c
index 3944c8b397..2dd66fe20b 100644
--- a/examples/gtkdial/dial_test.c
+++ b/examples/gtkdial/dial_test.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <gtk/gtk.h>
diff --git a/examples/gtkdial/gtkdial.c b/examples/gtkdial/gtkdial.c
index 402472d425..513c7595cf 100644
--- a/examples/gtkdial/gtkdial.c
+++ b/examples/gtkdial/gtkdial.c
@@ -17,6 +17,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <math.h>
#include <stdio.h>
#include <gtk/gtkmain.h>
diff --git a/examples/helloworld/helloworld.c b/examples/helloworld/helloworld.c
index ad66be6e9b..8f81097592 100644
--- a/examples/helloworld/helloworld.c
+++ b/examples/helloworld/helloworld.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
/* This is a callback function. The data arguments are ignored
diff --git a/examples/helloworld2/helloworld2.c b/examples/helloworld2/helloworld2.c
index 5f2b27ae27..3a8a1627e8 100644
--- a/examples/helloworld2/helloworld2.c
+++ b/examples/helloworld2/helloworld2.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
/* Our new improved callback. The data passed to this function
diff --git a/examples/label/label.c b/examples/label/label.c
index 84281be27e..c56f1d5842 100644
--- a/examples/label/label.c
+++ b/examples/label/label.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
int main( int argc,
diff --git a/examples/list/list.c b/examples/list/list.c
index 3180a4f0df..066d2cabab 100644
--- a/examples/list/list.c
+++ b/examples/list/list.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
#include <stdio.h>
diff --git a/examples/menu/itemfactory.c b/examples/menu/itemfactory.c
index c3b308b35b..b456eee601 100644
--- a/examples/menu/itemfactory.c
+++ b/examples/menu/itemfactory.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
/* Obligatory basic callback */
diff --git a/examples/menu/menu.c b/examples/menu/menu.c
index 94271df94d..c90e9065ef 100644
--- a/examples/menu/menu.c
+++ b/examples/menu/menu.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <stdio.h>
#include <gtk/gtk.h>
diff --git a/examples/notebook/notebook.c b/examples/notebook/notebook.c
index 39deba1f75..439d5932ee 100644
--- a/examples/notebook/notebook.c
+++ b/examples/notebook/notebook.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <stdio.h>
#include <gtk/gtk.h>
diff --git a/examples/packbox/packbox.c b/examples/packbox/packbox.c
index ae5d9e3be6..8657ab5a28 100644
--- a/examples/packbox/packbox.c
+++ b/examples/packbox/packbox.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include "gtk/gtk.h"
diff --git a/examples/paned/paned.c b/examples/paned/paned.c
index e28566b7f4..8c6da215a5 100644
--- a/examples/paned/paned.c
+++ b/examples/paned/paned.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <stdio.h>
#include <gtk/gtk.h>
diff --git a/examples/pixmap/pixmap.c b/examples/pixmap/pixmap.c
index af6a29024b..8339c73206 100644
--- a/examples/pixmap/pixmap.c
+++ b/examples/pixmap/pixmap.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
diff --git a/examples/progressbar/progressbar.c b/examples/progressbar/progressbar.c
index cec619ea5d..80228cfd56 100644
--- a/examples/progressbar/progressbar.c
+++ b/examples/progressbar/progressbar.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
typedef struct _ProgressData {
diff --git a/examples/radiobuttons/radiobuttons.c b/examples/radiobuttons/radiobuttons.c
index b3fe809a66..ab5f09a551 100644
--- a/examples/radiobuttons/radiobuttons.c
+++ b/examples/radiobuttons/radiobuttons.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <glib.h>
#include <gtk/gtk.h>
diff --git a/examples/rangewidgets/rangewidgets.c b/examples/rangewidgets/rangewidgets.c
index be4b6cc092..dced1fb562 100644
--- a/examples/rangewidgets/rangewidgets.c
+++ b/examples/rangewidgets/rangewidgets.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
GtkWidget *hscale, *vscale;
diff --git a/examples/rulers/rulers.c b/examples/rulers/rulers.c
index 720f9dd29f..9e53dd0cc6 100644
--- a/examples/rulers/rulers.c
+++ b/examples/rulers/rulers.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
#define EVENT_METHOD(i, x) GTK_WIDGET_GET_CLASS(i)->x
diff --git a/examples/scribble-simple/scribble-simple.c b/examples/scribble-simple/scribble-simple.c
index 809a3675e6..69920269d8 100644
--- a/examples/scribble-simple/scribble-simple.c
+++ b/examples/scribble-simple/scribble-simple.c
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <stdlib.h>
#include <gtk/gtk.h>
diff --git a/examples/scribble-xinput/scribble-xinput.c b/examples/scribble-xinput/scribble-xinput.c
index ed1b3d715d..784e1edd76 100644
--- a/examples/scribble-xinput/scribble-xinput.c
+++ b/examples/scribble-xinput/scribble-xinput.c
@@ -18,6 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <gtk/gtk.h>
/* Backing pixmap for drawing area */
diff --git a/examples/scrolledwin/scrolledwin.c b/examples/scrolledwin/scrolledwin.c
index be4c82d681..bdb1e4a125 100644
--- a/examples/scrolledwin/scrolledwin.c
+++ b/examples/scrolledwin/scrolledwin.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <stdio.h>
#include <gtk/gtk.h>
diff --git a/examples/selection/gettargets.c b/examples/selection/gettargets.c
index bfc44a0ee6..74b3fa65a0 100644
--- a/examples/selection/gettargets.c
+++ b/examples/selection/gettargets.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <stdlib.h>
#include <gtk/gtk.h>
diff --git a/examples/selection/setselection.c b/examples/selection/setselection.c
index 3dcb3a53b5..926e8e05a0 100644
--- a/examples/selection/setselection.c
+++ b/examples/selection/setselection.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <stdlib.h>
#include <gtk/gtk.h>
#include <time.h>
diff --git a/examples/spinbutton/spinbutton.c b/examples/spinbutton/spinbutton.c
index ba54ed8d36..fdeb7716e9 100644
--- a/examples/spinbutton/spinbutton.c
+++ b/examples/spinbutton/spinbutton.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <stdio.h>
#include <gtk/gtk.h>
diff --git a/examples/statusbar/statusbar.c b/examples/statusbar/statusbar.c
index a65039d2c5..44d9053bd6 100644
--- a/examples/statusbar/statusbar.c
+++ b/examples/statusbar/statusbar.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <stdlib.h>
#include <gtk/gtk.h>
#include <glib.h>
diff --git a/examples/table/table.c b/examples/table/table.c
index 547f7c0093..a3159586a7 100644
--- a/examples/table/table.c
+++ b/examples/table/table.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
/* Our callback.
diff --git a/examples/text/text.c b/examples/text/text.c
index fe2a0385f4..319bedfaa4 100644
--- a/examples/text/text.c
+++ b/examples/text/text.c
@@ -1,5 +1,6 @@
#define GTK_ENABLE_BROKEN
+#include <config.h>
#include <stdio.h>
#include <gtk/gtk.h>
diff --git a/examples/tictactoe/tictactoe.c b/examples/tictactoe/tictactoe.c
index 271b3678aa..7ed00e564b 100644
--- a/examples/tictactoe/tictactoe.c
+++ b/examples/tictactoe/tictactoe.c
@@ -17,6 +17,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <gtk/gtksignal.h>
#include <gtk/gtktable.h>
#include <gtk/gtktogglebutton.h>
diff --git a/examples/tictactoe/ttt_test.c b/examples/tictactoe/ttt_test.c
index 0f8a0f12e5..ad7517c940 100644
--- a/examples/tictactoe/ttt_test.c
+++ b/examples/tictactoe/ttt_test.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <stdlib.h>
#include <gtk/gtk.h>
#include "tictactoe.h"
diff --git a/examples/tree/tree.c b/examples/tree/tree.c
index c17165cd58..ce2f45241b 100644
--- a/examples/tree/tree.c
+++ b/examples/tree/tree.c
@@ -1,5 +1,6 @@
#define GTK_ENABLE_BROKEN
+#include <config.h>
#include <gtk/gtk.h>
/* for all the GtkItem:: and GtkTreeItem:: signals */
diff --git a/examples/wheelbarrow/wheelbarrow.c b/examples/wheelbarrow/wheelbarrow.c
index 12d8395c0c..33da0a5b6a 100644
--- a/examples/wheelbarrow/wheelbarrow.c
+++ b/examples/wheelbarrow/wheelbarrow.c
@@ -1,4 +1,5 @@
+#include <config.h>
#include <gtk/gtk.h>
/* XPM */
diff --git a/gdk-pixbuf/gdk-pixbuf-csource.c b/gdk-pixbuf/gdk-pixbuf-csource.c
index 29669c8a09..9b0a662309 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 4ec06195b9..92ddb55b68 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 54eff3280d..7bb0f74fa2 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 10f14ce0fa..7e63bfa65a 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 4a9d0bef81..4904f3acf8 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 32c6af0b57..99f413ce88 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 548d48ee18..633b5bc0b7 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 bc890d437e..94ed3cf138 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 c95371b56f..567cc4f57a 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 5e0d73b4e2..52232720c0 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 77d5abf4bc..52b888e0b0 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 d6a3a28fa7..bd5fe9eeb7 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 3ee8ad4338..4c04ed89c4 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 da845032e5..2ea85fb2c6 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 7ecc2102eb..7ede828a9d 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 2d4d04ced6..fd1c387e9f 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 d04de3bbbe..6898727b49 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 d3d332f5dc..3a033caf3d 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 c7ef2efd90..7ba108d522 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 576fb05e85..b6120dfb86 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 aa07c9734f..a05c957b61 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 35a0a49685..a9d612ac91 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 2392776350..e131e45770 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 838701d8cd..916d257b5f 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 c480d9f998..f59c7ec955 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 14bca401de..3c12fde3ff 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 3dc47d9d18..13e034e160 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 329eab9540..3ab113e571 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 4aecef8864..cc0c453328 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 9ee4b1a173..39c09e1405 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 7ad957d59f..4df74dd6df 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 20903d6089..c2bbb10b2a 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 9212662d50..4253c04784 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 a42bff2489..d9d798e19a 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 4ce146d59d..cc84f2e10c 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 a97ec00614..eca6797043 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 9001da48ed..64cf1e9a4d 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 2e82e89e6a..845a5b507d 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 b42c49cc4b..009178becc 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 de4fd19ed8..b0bed69ee8 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 9a927fbd5e..d1740306ec 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 3161b18cf9..53fcd7c733 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 e2131d303b..cd347c7278 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 c92a6a5cd1..0512fd7081 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 20acbabcbe..ae9f012735 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 1e21af46f3..0c1f2aa0f9 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 b425f400c6..0c1e09d681 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 516c7138f1..c95b0a09d2 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 11f2632c3e..ccd15cdffa 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 c15ebadaf6..bafeb96e2e 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 28c604e5a9..3c7ebc5e1b 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 e8992a8206..912f66690c 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 cf3563c637..fd237c3fb4 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 2966ebf846..33b5284f4c 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 7fd01ae3ae..4331bfc57d 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 42ba7ef52a..4c9419f255 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 a4836d0334..d937a534d4 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 c939976e78..6c087ee957 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 9ebf6e5b2b..2283529fb1 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 dc1972157a..9c94500b57 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 de1d740a20..3854a60311 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 6ad63c7a04..d27d01c653 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 3cf3f9f9e8..a47d6a49ef 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 4e2be42ab7..0b96716810 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 758b187b46..bc653554f8 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 f3e55f8233..52c5817a0d 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 700cd038fb..0821bf210d 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 d5dd6242c5..5971ad53e3 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 a97ff8142c..d285770f45 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 94ee7edc60..9974b04a46 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 b36c5c069c..c3b3fe4732 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 6651f0b4a3..4ecd1bb8ec 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 2cee5ba70d..f6b857b6b7 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 d3bef3a840..a0ebf5e564 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 b6b42a81e7..1302db8ef2 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 e76f12bfec..e52d63749b 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 8192f73375..cc3e715570 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 8a3dc8ab8a..66a03b0f7e 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 d965370210..3215877286 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 60856cef41..7ed740db06 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 261a416c99..f3c9c3517a 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 97bba2b4c7..68d215ffca 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 04a1c3e936..1756ef256f 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 c8205500e1..a8aa92ce6f 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 26271cd36e..732b270750 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 a997cea990..d62b565455 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 d1bee10f83..5a0adc7286 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 cf69307d86..155be7a50b 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 aa1285517f..e0b0ca6d4a 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 c647c1163b..d1d5a2effb 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 6cd73a34e6..b5d1025cdf 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 17380587a5..a87136b33e 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 0d3799810d..7e906d9668 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 39b16a4ca9..6265dcfc7a 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 24b5a340f7..ae50fc9007 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 feb3119f9d..01c0aee26e 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 d18e9502eb..2c3744b773 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 3be4d0fa63..294dd1f805 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 ff299dc1ef..ce2f977ed8 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 976b1aa987..6e3c29888b 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 7dd2a468a7..5332bc5ede 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 263b149f19..bbcd39bebc 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 1c468e918a..7f8a92f771 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 f1c86a8dbb..1f294e79f4 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 f8befc6ea7..88ec80ca90 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 eb9fc32ae6..f9e6530261 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 d58f862dde..b369b89beb 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 3f8462f0a4..50f7df90d6 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 9b42234251..83a0ec5224 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 3f722492a9..3c5057cdb4 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 7bd7fcc951..f575ffa529 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 ce11b5a40a..5b37607be7 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 25004749fd..29bcf8e56b 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 93bb3df6cc..a4a26d14b6 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 ac851208b8..43fef8cc16 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 50c33ce801..46a562d0bf 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 3d7444046a..97caf61e1c 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 476dcdcad7..aafe8c39d9 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 1f5d029a39..59fb9d8769 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 86b993a669..474b406779 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 80c8fdd7d6..d21bd6d42f 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 0b48bca4e4..43632a0985 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 de34f282c3..d1c9d9b502 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 ab38f6d288..b0aa0c02cc 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 c59657a9a4..5054769ddf 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 78fd84e6e1..316d5d34cb 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 472ff136e5..978ef3e28a 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 1160f8225e..b9222c8f31 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 9deafaed74..c87fa3a26f 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 87fb1b7942..6838c2e02c 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 84ea2bb562..9a992ab8d4 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 4e84cdeed5..8c408e4e59 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 25f5d01971..b4dab125ee 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 6dff244122..1234e974e9 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 5c47b18dd0..cc92744c95 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 7f344dcbed..43772fa9e2 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 7c73d55566..f76a15b13d 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 92448abc3f..47142b42f6 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 efce7708be..145570a445 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 452d8d6ca0..0d1d9e1f47 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 0459eb0b22..cf4b21e68f 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 77473b8863..78a75b6665 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 e20a2ed157..d37a855127 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 1a955fa8c8..ba48ba26b4 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 27de2ab46f..2886ab32b1 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 0720c28447..b0d8856d5a 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 3622f6a33c..764f32bb01 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 00fafbe996..045f2d5788 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 97e14bc63c..28768b0512 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 25625f5125..72f2e7d948 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 b5f1049f0e..cc326213b7 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 c8ace08432..d66fbcb101 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 5dac891016..44983357c9 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 5b05b9d80a..f6545776bd 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 840cfcc30d..4dac76ed09 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 737870743a..d56bff4682 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 16bc0de6ac..01326cf376 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 792c606c22..9d55094976 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 0dbe15f6ac..1a5b754633 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 a15f9e5209..d2c0892d5a 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 9497da21f8..4f4c4e27cf 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 7d805c39e2..d37487adb1 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 0816ef15bc..2835b062e7 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 696efc50df..0705ff8f41 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 f601b54c68..383a2e191a 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 f957771888..43deeb0529 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 6885fbc83a..f6e325c8ec 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 b2d5c394c8..81e5633927 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 d1be269936..805d937deb 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 2c018a9d43..5e903f83d5 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 15bb974d6a..ca0748139d 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 0b54133a7a..88383c4d8c 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 9fe5412294..a1a5ec5a5d 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 caaff5644d..95e162d2a3 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 ba635c6711..1618c63a0d 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 fa3272e59b..ddb1c1fba2 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 7dd483b550..5360a02a2c 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 aca5583cb0..b4daf02283 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 b0d556eb9a..132283fa19 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 cf79327235..7e95d04a44 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 90d1e63de0..3a4c0de345 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 31c6b1bc51..a5c5a5267d 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 31d6775a5b..f91a1bad82 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 8df0401ffb..b981e16a1a 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 3b3c2af449..26bf111f31 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 fab4f43c02..d752127412 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 7ec560f72f..465edc8e6e 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 0f7bac65a1..a496cecf3f 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 f048998b1f..70931a85e5 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 bb81924c3d..eab67c7c47 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 2a633878e9..eb0ccbb145 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 9b5a6b9640..e1c30c9341 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 28f5a828cf..53e970259d 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 90f3f94682..e29975cedf 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 6a2e44f301..168cbc6023 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 d2b521d487..facc809fa3 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 395438e056..9378677048 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 f418933362..9e10596cb5 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 5fcb63eeb4..df02808b74 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 beca28d3c6..970f53d420 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 b8a5da4466..91cfa1c48a 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 50c1275026..e05038d77d 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 59240ca610..f57a4788a0 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 daf3fc2460..5e0b67b490 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 1013147f6b..43e3af7805 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 08c49f91b3..64f94bac4a 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 a1e0ae7d8b..80b2768a5b 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 31581ea9ae..43a9a517da 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 519fbab79f..9e1a62c675 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 b5e57c21f1..c2a2e23290 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 441c0cda92..06a6ee187b 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 20b1f64bbf..1379b39694 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 6a3ad39cda..9fde1d119e 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 02251f95f4..9f03a5dd59 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 4785b46544..a95f78f010 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 e45f474636..d3bbb02122 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 288dad7218..618ecb1717 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 7aa9faf22f..8764ea379d 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 62207b00dc..c060f48386 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 b9f20087e6..06e8828c51 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 4f95952e04..57eeed8883 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 8ce713fcba..4ca429463a 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 3913f42d37..2e1e1f4cdb 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 e9fb3702a1..c8bab4b04e 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 88520c91eb..327bb20fa2 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 c3d9274b00..4cf36e85d5 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 905ae29a2a..5466b0ee3c 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 2bf9be46a8..3ae8d54d1a 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 3fdab558eb..03c31c60c6 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 d682e766d7..43aa0c6e66 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 6b42c19209..7538fa49f1 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 7314e3f22f..a47d6925c6 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 83fdb2d1c8..7a2b8d52d9 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 e160cc01d1..37f21812a3 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 cea119a8e3..e368211472 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 2cfbc1cc34..ef2fb2e041 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 7f0e6502b6..5e111bcc37 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 8a90036c3b..429729fee5 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 3f59ceb4ab..ebeaeb99c5 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 ebed987bb6..7a65b5b028 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 ffe114fee3..5dc8de4fd8 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 0bb5288995..5aea0eabaa 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 212e8f7426..cf7a84280e 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 fa69c4ee76..c029f049bf 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 1a2609eefa..5df867befe 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 1d09a9f038..9811116bf9 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 7ffa3a3ccd..b956fb4992 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 3a72fc0544..b327d50f2f 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 c33aa5117f..1309144ad5 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 889b62171d..0bc45752ca 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 b7ab25fa10..61bc142a7c 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 9c98dd7899..8c6f546081 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 9338400654..235fdd16dc 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 5660b628d7..10ba7fb6e3 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 afbbfb8908..538da1d316 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 5e685eab48..bf82921ebc 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 dfe095af36..7575a61294 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 0c003f8c36..bfdd2e0e54 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 78f907da9d..df8d877800 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 70201b75c5..3ce6616fd7 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 389e6aa10b..ac3ca7844b 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 5c7398608b..dc52e73b04 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 ae566df303..14d37720f3 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 f44feabb5c..51d8180b99 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 0796c89f1b..24fd85f52c 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 42c79cccf4..04bdbccfe7 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 7700c5b8a9..02f80ac98d 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 7f4fb981c0..7b8ad94ed9 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 b4bef80ced..d71e58024b 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 e99bc617b4..f4690e6f21 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 d2036c3c8b..57b4048dbb 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 e3f957ec3a..995c02faec 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 fc250c0d27..48410f3bc1 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 3b0ccc5b05..8dcf2d716a 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 94cd4b1d84..9333f966f1 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 f9ad6fb3b3..5f8b495366 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 8b1999ba29..6f7bf8c84a 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 d149c5f99b..7b52d1355f 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 838010484a..88c299f93b 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 40452f05bb..c8d9da92ba 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 c2274f7228..17fa2c3918 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 32fda5094d..ef17b64b50 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 edbb45b834..397f200b31 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 221cd2dc0d..f623fbbbed 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 5bb64cce68..b2f992f377 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 c7b8b9e5c1..f559780dd4 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 e10636e9d5..fa10f729fc 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 c3791d134b..872fd54a8e 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 a50b1e8501..952a21fef9 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 30c9a06bf5..f0d6db56f8 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 b6d9da5c01..a9150d52e4 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 1c01fbb684..f1cc3e9a8f 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 b6eadf0585..2fe5d61a74 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 d6b08f59f3..099cc9d075 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 5d9950665c..7a669c9b11 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 44bc754139..e8734fb6cd 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 d267f7fa80..0be281ca77 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 8dde2e0c29..1bfc512d42 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 fb506be76c..bd2a4176a5 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 54a6482cce..93121e5a49 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 2e3f659e69..1d4e8cf717 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 3c76b686d0..fa01526935 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 ccd2bc4146..12a0bc2289 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 d57d72dba3..2b8207b824 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 957c066f68..2c98c65626 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 98f3921464..9980bc32c8 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 e1905c70af..dbc45b88c3 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 2a2b28d075..ec8408abc5 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 977318ea14..8e03a0e63e 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 cb719058e9..57bef94c87 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 33e470e6af..5d18c7d8ca 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 9e57e357ac..46dfd15d50 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 370acc1bd2..74fbcbf470 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 9c3939b9ae..8acb5ca111 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 ed0f480d14..618de95d1e 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 f5a02c4543..2fc79715db 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 965460f551..f673a40669 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 88ff0345ed..55d50f16a4 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 a05b90d043..fdee669ea4 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 a64f629a29..24cd1604bf 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 6f30fe94f8..e3949ccadc 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 0290443f53..e4ecccd1d4 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 ad14b088b2..275ee19f1a 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 299050d66d..f4c963872c 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 98f508cbef..d1c6e4781d 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 975b4caf7d..060202a5db 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 04a83157ef..ba7170e17f 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 52cf9878d5..d145e74755 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 3db76c8d28..c430073b68 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 85a7192d74..682a3354cd 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 ae24efd892..d0bbbb6bd4 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 2e2aa05328..9fc246c43b 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 ef22c2b050..9aa6572d26 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 808eea6fa3..8622851418 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 2d1e62f1d2..f3aaeafa36 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 c6e8d8237c..3d19af6b42 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 660d4650b5..1018f4ccfb 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 5cf2090234..8303d39fb9 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 ffc0b8650e..6f87df0cba 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 5e2993b7f0..123a88b376 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 3801c7b765..74b5c276e6 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 4dc4b586f3..cedf768c76 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 80570a1bab..5517d4e642 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 1946d9e04e..f921560a5c 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>