[gimp] app: scale remove outdated warning about scaling indexed images



commit f3c999c80bb0f59daf88b9e5df9cc54d0e17796a
Author: Øyvind Kolås <pippin gimp org>
Date:   Sat Jun 24 19:06:02 2017 +0200

    app: scale remove outdated warning about scaling indexed images
    
    Since the goat invasion, GIMP and GEGL have been using the set resampler and
    map the resulting colors to the closest palette entries.

 app/dialogs/scale-dialog.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/app/dialogs/scale-dialog.c b/app/dialogs/scale-dialog.c
index af24d58..8bd30d8 100644
--- a/app/dialogs/scale-dialog.c
+++ b/app/dialogs/scale-dialog.c
@@ -204,21 +204,6 @@ scale_dialog_new (GimpViewable          *viewable,
   gimp_int_combo_box_set_active (GIMP_INT_COMBO_BOX (private->combo),
                                  private->interpolation);
 
-  if (gimp_image_get_base_type (image) == GIMP_INDEXED)
-    {
-      GtkWidget *box = gimp_message_box_new (GIMP_ICON_DIALOG_INFORMATION);
-
-      gimp_message_box_set_text (GIMP_MESSAGE_BOX (box),
-                                 _("Indexed color layers are always scaled "
-                                   "without interpolation. The chosen "
-                                   "interpolation type will affect channels "
-                                   "and layer masks only."));
-
-      gtk_container_set_border_width (GTK_CONTAINER (box), 0);
-      gtk_box_pack_start (GTK_BOX (vbox), box, FALSE, FALSE, 0);
-      gtk_widget_show (box);
-    }
-
   return dialog;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]