mirror of https://github.com/GNOME/gimp.git
app: make sure fg, bg, brush, pattern etc. changes don't write gimprc
gimp_dialog_config_fill,stroke_options_notify(): ignore notifications on the fill and stroke option's parent class properties, they are not serialized and completely irrelevent here.
This commit is contained in:
parent
d226816100
commit
c3510405c4
|
@ -919,7 +919,9 @@ gimp_dialog_config_fill_options_notify (GObject *object,
|
|||
GParamSpec *pspec,
|
||||
gpointer data)
|
||||
{
|
||||
g_object_notify (G_OBJECT (data), "fill-options");
|
||||
/* ignore notifications on parent class properties such as fg/bg */
|
||||
if (pspec->owner_type == G_TYPE_FROM_INSTANCE (object))
|
||||
g_object_notify (G_OBJECT (data), "fill-options");
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -927,5 +929,7 @@ gimp_dialog_config_stroke_options_notify (GObject *object,
|
|||
GParamSpec *pspec,
|
||||
gpointer data)
|
||||
{
|
||||
g_object_notify (G_OBJECT (data), "stroke-options");
|
||||
/* see above */
|
||||
if (pspec->owner_type == G_TYPE_FROM_INSTANCE (object))
|
||||
g_object_notify (G_OBJECT (data), "stroke-options");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue