mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
GdkMonitor: Fix refresh-rate property
We were using g_value_set_boolean for an integer property.
This commit is contained in:
parent
b579fa82fe
commit
8dd8c4a9de
@ -119,7 +119,7 @@ gdk_monitor_get_property (GObject *object,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case PROP_REFRESH_RATE:
|
case PROP_REFRESH_RATE:
|
||||||
g_value_set_boolean (value, monitor->refresh_rate);
|
g_value_set_int (value, monitor->refresh_rate);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PROP_SUBPIXEL_LAYOUT:
|
case PROP_SUBPIXEL_LAYOUT:
|
||||||
|
Loading…
Reference in New Issue
Block a user