shell/blur-effect: Set float brightness property
The brightness property of ShellBlurEffect is of float type, but we are calling g_value_set_int() in the GObject::get_property() handler, which throws warnings when trying to set the property via g_object_set() and family. Use g_value_set_float() instead. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/924
This commit is contained in:
parent
0d9dcd4e0a
commit
e169e5a30a
@ -904,7 +904,7 @@ shell_blur_effect_get_property (GObject *object,
|
||||
break;
|
||||
|
||||
case PROP_BRIGHTNESS:
|
||||
g_value_set_int (value, self->brightness);
|
||||
g_value_set_float (value, self->brightness);
|
||||
break;
|
||||
|
||||
case PROP_MODE:
|
||||
|
Loading…
Reference in New Issue
Block a user