summaryrefslogtreecommitdiff
path: root/gtk/gtkwidgetprivate.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2013-06-28 10:39:52 +0200
committerAlexander Larsson <alexl@redhat.com>2013-07-03 14:34:13 +0200
commit6bf32999b162b972ad8f1ea683c8727e7a1f7273 (patch)
treefa4206518698fe72833ea898cd94bc9cebfa5f8e /gtk/gtkwidgetprivate.h
parentc0ea0b5aadbde2be83997fb7e8006c161f209d02 (diff)
downloadgtk+-6bf32999b162b972ad8f1ea683c8727e7a1f7273.tar.gz
widget: Track when the window scale factor changes and notify
The scale-factor property on the widgets will be notified, and the scale will change on the style property, causing us to pick up new css assets.
Diffstat (limited to 'gtk/gtkwidgetprivate.h')
-rw-r--r--gtk/gtkwidgetprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h
index 045c08a20e..7cf15f8e55 100644
--- a/gtk/gtkwidgetprivate.h
+++ b/gtk/gtkwidgetprivate.h
@@ -47,6 +47,8 @@ void _gtk_widget_set_alloc_needed (GtkWidget *widget,
gboolean alloc_needed);
void _gtk_widget_draw (GtkWidget *widget,
cairo_t *cr);
+void _gtk_widget_scale_changed (GtkWidget *widget);
+
void _gtk_widget_add_sizegroup (GtkWidget *widget,
gpointer group);