plug-ins/common/nlfilt.c plug-ins/gap/gap_mov_dialog.c removed code that

2001-10-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/nlfilt.c
	* plug-ins/gap/gap_mov_dialog.c
	* plug-ins/gap/gap_navigator_dialog.c: removed code that sets the
	colormap and gamma value of a GtkPreview. We don't need to do this
	since GtkPreview uses GdkRGB.
This commit is contained in:
Sven Neumann 2001-10-28 17:43:22 +00:00 committed by Sven Neumann
parent 294e7a1be2
commit 6d4e0509d4
4 changed files with 8 additions and 14 deletions

View File

@ -1,3 +1,11 @@
2001-10-28 Sven Neumann <sven@gimp.org>
* plug-ins/common/nlfilt.c
* plug-ins/gap/gap_mov_dialog.c
* plug-ins/gap/gap_navigator_dialog.c: removed code that sets the
colormap and gamma value of a GtkPreview. We don't need to do this
since GtkPreview uses GdkRGB.
2001-10-28 Sven Neumann <sven@gimp.org>
* configure.in: require GLib-1.3.10, GTK+-1.3.10 and Pango-0.21

View File

@ -574,10 +574,6 @@ mw_preview_new (GtkWidget *parent,
GtkWidget *vbox;
GtkWidget *button;
gtk_preview_set_gamma (gimp_gamma ());
gtk_preview_set_install_cmap (gimp_install_cmap ());
gtk_widget_set_default_colormap (gtk_preview_get_cmap ());
frame = gtk_frame_new (_("Preview"));
gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_ETCHED_IN);
gtk_box_pack_start (GTK_BOX (parent), frame, FALSE, FALSE, 0);

View File

@ -461,12 +461,6 @@ mov_dialog ( GimpDrawable *drawable, t_mov_path_preview *path_ptr,
gtk_init (&argc, &argv);
gtk_rc_parse (gimp_gtkrc ());
gtk_preview_set_gamma (gimp_gamma ());
gtk_preview_set_install_cmap (gimp_install_cmap ());
gtk_widget_set_default_colormap (gtk_preview_get_cmap ());
/* dialog */
dlg = gtk_dialog_new ();
ok_data.dlg = dlg;

View File

@ -3115,10 +3115,6 @@ int gap_navigator(gint32 image_id)
gtk_init (&argc, &argv);
gtk_rc_parse (gimp_gtkrc ());
gtk_preview_set_gamma(gimp_gamma());
gtk_preview_set_install_cmap(gimp_install_cmap());
gtk_widget_set_default_colormap(gtk_preview_get_cmap());
/* The main shell */
shell = gimp_dialog_new (_("Video Navigator"), "gap_navigator",
gimp_standard_help_func, "filters/gap_navigator_dialog.html",