app: only auto-link GEGL properties of unit "pixel-distance"

This commit is contained in:
Michael Natterer 2014-05-18 23:11:28 +02:00
parent b5e37f46a4
commit eeb8c31232
1 changed files with 3 additions and 2 deletions

View File

@ -309,7 +309,8 @@ gimp_prop_table_new (GObject *config,
0, 0);
gtk_widget_show (chain);
if (gtk_adjustment_get_value (last_x_adj) ==
if (HAS_KEY (pspec, "unit", "pixel-distance") &&
gtk_adjustment_get_value (last_x_adj) ==
gtk_adjustment_get_value (adj))
{
GBinding *binding;