Commit 6d4e0509 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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.
parent 294e7a1b
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
......
......@@ -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);
......
......@@ -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;
......
......@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment