GdkMonitor: Fix refresh-rate property

We were using g_value_set_boolean for an integer property.
This commit is contained in:
Matthias Clasen 2016-05-02 12:40:24 -04:00
parent b579fa82fe
commit 8dd8c4a9de

View File

@ -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: