Christian Hergert
a8a56e8a0e
marshallers: ensure g_cclosure_marshal_VOID__VOIDv is used
...
If we set c_marshaller manually, then g_signal_newv() will not setup a
va_marshaller for us. However, if we provide c_marshaller as NULL, it will
setup both the c_marshaller (to g_cclosure_marshal_VOID__VOID) and
va_marshaller (to g_cclosure_marshal_VOID__VOIDv) for us.
2019-05-29 13:30:15 -07:00
Daniel Boles
bcd3c42b92
GdkMonitor: Fix link to nonexistent Display method
...
There is no gdk_display_get_monitors(). Instead, we have to use
gdk_display_get_n_monitors() and gdk_display_get_monitor(int).
2018-01-13 20:03:37 +00:00
Daniel Boles
58c0418418
gdkmonitor: Fix typo
2017-10-31 18:27:34 +00:00
Matthias Clasen
268d150d0f
GdkMonitor: Use 1 as scale fallback value
...
The same value we use in gtk_widget_get_scale_factor.
2017-10-27 16:12:28 -04:00
Matthias Clasen
8dd8c4a9de
GdkMonitor: Fix refresh-rate property
...
We were using g_value_set_boolean for an integer property.
2016-05-02 12:42:13 -04:00
Matthias Clasen
837244809e
Add GdkMonitor
...
Add a simple object representing a monitor.
2016-04-27 23:18:16 -04:00