require GTK+-1.3.8 and PangoFT2-0.19.

2001-09-19  Sven Neumann  <sven@gimp.org>

	* configure.in: require GTK+-1.3.8 and PangoFT2-0.19.

	* app/devices.c:
	* app/tools/gimppainttool.c: removed intermediate hacks that are no
	longer needed with the new GTK+ release.

	* app/plug_in.c
	* libgimp/gimp.[ch]
	* libgimp/gimpui.c
	* libgimpbase/gimpprotocol.[ch]: removed use_xshm and color_cube
	variables and accessor functions.

	* app/errors.c: use gtk_exit() instead of gdk_exit().

	* app/gdisplay.c: use Pango API to determine cursor label width. This
	does not work correctly, but at least it compiles...

	* app/gui/splash.c: follow Pango API changes.

	* app/tools/gimpcurvestool.[ch]: use PangoLayouts to draw text.

	* app/tools/gimptexttool.c: follow Pango API changes.

	* app/widgets/gimpfontselection-dialog.c
	* app/widgets/gimpfontselection.c: mostly rewritten following the
	changes in GtkFontSelection. This is unusable at the moment and
	crashes, but at least it compiles again...

	* plug-ins/Makefile.am: temporarily disabled build of ifscompose since
	it does not compile any longer after the latest GDK cleanups.

	* plug-ins/common/nlfilt.c: gimp_color_cube() is obsolete.
This commit is contained in:
Sven Neumann
2001-09-19 14:42:35 +00:00
committed by Sven Neumann
parent 48d7a679e6
commit 334911e271
49 changed files with 516 additions and 629 deletions

View File

@ -133,8 +133,6 @@ static HANDLE shm_handle;
static gdouble _gamma_val;
static gboolean _install_cmap;
static gboolean _use_xshm;
static guchar _color_cube[4];
static gint _min_colors;
static gint _gdisp_ID = -1;
@ -727,18 +725,6 @@ gimp_install_cmap (void)
return _install_cmap;
}
gboolean
gimp_use_xshm (void)
{
return _use_xshm;
}
guchar *
gimp_color_cube (void)
{
return _color_cube;
}
gint
gimp_min_colors (void)
{
@ -1094,11 +1080,6 @@ gimp_config (GPConfig *config)
_shm_ID = config->shm_ID;
_gamma_val = config->gamma;
_install_cmap = config->install_cmap;
_color_cube[0] = 6; /* These are the former default values */
_color_cube[1] = 6; /* (for backward compatibility only) */
_color_cube[2] = 4;
_color_cube[3] = 24;
_use_xshm = config->use_xshm;
_min_colors = config->min_colors;
_gdisp_ID = config->gdisp_ID;