summaryrefslogtreecommitdiff
path: root/gdk/gdkdisplayprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-10-30 09:00:49 -0400
committerMatthias Clasen <mclasen@redhat.com>2017-10-30 09:21:47 -0400
commit61d13b0f1470dac00caba168ab72c2b14e4f0634 (patch)
tree98cd73e213f5ae4c146036f56fb9e1577999e7d8 /gdk/gdkdisplayprivate.h
parent15491cf6e4e1b36691c5d790006864797029962f (diff)
downloadgtk+-61d13b0f1470dac00caba168ab72c2b14e4f0634.tar.gz
gdk: Add settings api to GdkDisplay
This commit adds gdk_display_get_setting and a ::setting-changed signal, which will replace the settings event we use now. Note that I've done away with the GdkSettingAction argument that the event has, since we are not using it at all.
Diffstat (limited to 'gdk/gdkdisplayprivate.h')
-rw-r--r--gdk/gdkdisplayprivate.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdk/gdkdisplayprivate.h b/gdk/gdkdisplayprivate.h
index cd3ef346d1..16969e4cf1 100644
--- a/gdk/gdkdisplayprivate.h
+++ b/gdk/gdkdisplayprivate.h
@@ -225,8 +225,8 @@ struct _GdkDisplayClass
/* Signals */
void (*opened) (GdkDisplay *display);
- void (*closed) (GdkDisplay *display,
- gboolean is_error);
+ void (*closed) (GdkDisplay *display,
+ gboolean is_error);
};
@@ -303,6 +303,9 @@ void gdk_display_monitor_removed (GdkDisplay *display
GdkMonitor *monitor);
void gdk_display_emit_opened (GdkDisplay *display);
+void gdk_display_setting_changed (GdkDisplay *display,
+ const char *name);
+
G_END_DECLS
#endif /* __GDK_DISPLAY_PRIVATE_H__ */