]> Pileus Git - ~andy/gtk/commit
gtk: clean up the private horror
authorMichael Natterer <mitch@gimp.org>
Sat, 22 Oct 2011 06:48:13 +0000 (08:48 +0200)
committerMichael Natterer <mitch@gimp.org>
Sat, 22 Oct 2011 21:53:55 +0000 (23:53 +0200)
commit2688ccdbc4c8976ba4f7d681533d70ab9edc8b32
treeebc5503bb0dc4be70f273bde1499225feb8d0e1b
parent88ad614c735a92f8e0b029e2b5070bf0f8db5016
gtk: clean up the private horror

- add gtkmodulesprivate.h and move stuff there from gtkprivate.h
- add gtkprivate.c and move stuff there from gtkmain.c
- add gtkwin32.c and move stuff there from gtkmain.c
- don't redefine GTK_DATADIR and friends in gtkprivate.h
- have _gtk_get_datadir() and friends on all platforms
- remove the horrid hacks where gtkprivate.h can't be included,
  or must be included later due to redefinition of the compile-time
  directories
18 files changed:
gtk/Makefile.am
gtk/gtkcssprovider.c
gtk/gtkimcontext.c
gtk/gtkimmodule.c
gtk/gtkimmulticontext.c
gtk/gtkmain.c
gtk/gtkmainprivate.h
gtk/gtkmodules.c
gtk/gtkmodulesprivate.h [new file with mode: 0644]
gtk/gtkprintbackend.c
gtk/gtkprivate.c [new file with mode: 0644]
gtk/gtkprivate.h
gtk/gtkquartz.c
gtk/gtkquartz.h
gtk/gtkrc.c
gtk/gtksettings.c
gtk/gtkthemingengine.c
gtk/gtkwin32.c [new file with mode: 0644]