diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-04-21 12:05:45 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-04-22 19:29:15 -0400 |
commit | 723d57eeb51b1f0977d30c3b6a8ad3533747daa8 (patch) | |
tree | 8b3f1417c9ac235979d3177dbdfc310ff227f230 /gtk/gtkwidgetprivate.h | |
parent | 58ca3b05c93909f95b4bf7cda97d4e378e3653db (diff) | |
download | gtk+-723d57eeb51b1f0977d30c3b6a8ad3533747daa8.tar.gz |
widget: Add a system_setting_changed vfunc
This gives us a hook to walk the widget tree whenever a global
setting changes and do per-widget invalidations. This will
replace gtk_style_context_reset_widgets().
Diffstat (limited to 'gtk/gtkwidgetprivate.h')
-rw-r--r-- | gtk/gtkwidgetprivate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h index db969f4cb2..b0d851d272 100644 --- a/gtk/gtkwidgetprivate.h +++ b/gtk/gtkwidgetprivate.h @@ -282,6 +282,10 @@ gboolean _gtk_widget_captured_event (GtkWidget *widget, void gtk_widget_css_changed (GtkWidget *widget, GtkCssStyleChange *change); +void gtk_widget_system_setting_changed (GtkWidget *widget, + GtkSystemSetting setting); +void gtk_system_setting_changed (GdkDisplay *display, + GtkSystemSetting setting); void _gtk_widget_update_parent_muxer (GtkWidget *widget); GtkActionMuxer * _gtk_widget_get_action_muxer (GtkWidget *widget, |