Gimp/libgimpwidgets
Michael Natterer a27f7c7724 Issue #1788 - Inconsistency between FG color and selected color in...
...palette views despite selected color being in the currently
selected pallette

As suggested by Massimo, changing the color comparison EPSILON in
gimppalette.c from 1e-10 to 1e-6 fixes this, and is really small
enough.

Also, generally clean up color comparison epsilons:

- use a #define, not hardcoded values for all uses of
  gimp_rgb[a]_distance()
- call the #defines RGB_EPSILON and RGBA_EPSILON
- make them all 1e-6 or larger

(cherry picked from commit abd7cbfc8d)
2019-01-02 01:53:02 +01:00
..
.gitignore enums: add intermediate generated enum files to .gitignore 2017-08-24 15:35:27 -04:00
gimp3migration.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimp3migration.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpbrowser.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpbrowser.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpbusybox.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpbusybox.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpbutton.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpbutton.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcairo-utils.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcairo-utils.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcellrenderercolor.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcellrenderercolor.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcellrenderertoggle.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpcellrenderertoggle.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpchainbutton.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpchainbutton.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorarea.c Issue #1788 - Inconsistency between FG color and selected color in... 2019-01-02 01:53:02 +01:00
gimpcolorarea.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorbutton.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorbutton.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolordisplay.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpcolordisplay.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolordisplaystack.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolordisplaystack.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorhexentry.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorhexentry.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolornotebook.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolornotebook.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorprofilechooserdialog.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpcolorprofilechooserdialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorprofilecombobox.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpcolorprofilecombobox.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorprofilestore-private.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorprofilestore.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorprofilestore.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorprofileview.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpcolorprofileview.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorscale.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpcolorscale.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorscales.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorscales.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorselect.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorselect.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorselection.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorselection.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcolorselector.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpcolorselector.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcontroller.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcontroller.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpdialog.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpdialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpeevl.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpeevl.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpenumcombobox.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpenumcombobox.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpenumlabel.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpenumlabel.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpenumstore.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpenumstore.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpenumwidgets.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpenumwidgets.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpfileentry.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpfileentry.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpframe.c Change a bazillion URLs to https:// 2018-07-14 14:23:42 +02:00
gimpframe.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimphelpui.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimphelpui.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimphintbox.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimphintbox.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpicons.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpicons.h app, icons, menus: add performance-log recording to the dashboard 2018-09-02 03:26:11 -04:00
gimpintcombobox.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpintcombobox.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpintstore.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpintstore.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpmemsizeentry.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpmemsizeentry.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpnumberpairentry.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpnumberpairentry.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpoffsetarea.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpoffsetarea.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpoldwidgets.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpoldwidgets.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppageselector.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimppageselector.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppatheditor.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppatheditor.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppickbutton-default.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppickbutton-default.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppickbutton-kwin.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppickbutton-kwin.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppickbutton-quartz.c Fix compilation on Mac 10.6 and 10.7 (#2112) 2018-10-24 10:37:36 +02:00
gimppickbutton-quartz.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppickbutton.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppickbutton.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppixmap.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppixmap.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppreview.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppreview.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppreviewarea.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimppreviewarea.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimppropwidgets.c app: do not make line art bucket fill a GimpSelectCriterion anymore. 2018-12-19 16:23:26 +01:00
gimppropwidgets.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpquerybox.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpquerybox.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpruler.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpruler.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpscaleentry.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpscaleentry.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpscrolledpreview.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpscrolledpreview.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpsizeentry.c Issue #2470 - Spacing between grid lines does not stay at 1px ... 2018-11-10 06:57:54 -05:00
gimpsizeentry.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpspinbutton.c libgimpwidgets: add GimpSpinButton 2018-11-10 06:57:54 -05:00
gimpspinbutton.h libgimpwidgets: add GimpSpinButton 2018-11-10 06:57:54 -05:00
gimpstringcombobox.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpstringcombobox.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpunitcombobox.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpunitcombobox.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpunitmenu.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpunitmenu.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpunitstore.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpunitstore.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpwidgets-error.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpwidgets-error.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpwidgets-private.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpwidgets-private.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpwidgets.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpwidgets.def libgimpwidgets: add GimpSpinButton 2018-11-10 06:57:54 -05:00
gimpwidgets.h libgimpwidgets: add GimpSpinButton 2018-11-10 06:57:54 -05:00
gimpwidgetsenums.c libgimpwidgets: forgot one s/H/h/ in LCh 2018-07-08 17:31:25 +02:00
gimpwidgetsenums.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpwidgetsmarshal.list Bug 783680 - Allow to hide color models in GimpColorScales 2018-03-19 23:11:27 +01:00
gimpwidgetstypes.h libgimpwidgets: add GimpSpinButton 2018-11-10 06:57:54 -05:00
gimpwidgetsutils.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpwidgetsutils.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpzoommodel.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpzoommodel.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
Makefile.am libgimpwidgets: install gimpspinbutton.h 2018-11-19 09:28:58 -05:00
test-eevl.c tests: fix clang compilation error on test-eevl.c 2018-11-23 22:32:32 +01:00
test-preview-area.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00