summaryrefslogtreecommitdiff
path: root/gtk/gtkwidgetpaintableprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-07-06 10:43:14 +0200
committerBenjamin Otte <otte@redhat.com>2018-07-13 14:56:04 +0200
commita7cd1918a89755552b89c184a578302fb3796484 (patch)
treea1ba9210b575ef72b462cce11fcbef02bcabb406 /gtk/gtkwidgetpaintableprivate.h
parentbcfd1bbd242823c1f3283df1e4bb534e8504a292 (diff)
downloadgtk+-a7cd1918a89755552b89c184a578302fb3796484.tar.gz
widgetpaintable: Add a hack to make recursion not infloop
Makes the GUADEC talk not crash that I'm supposed to give in 20 minutes.
Diffstat (limited to 'gtk/gtkwidgetpaintableprivate.h')
-rw-r--r--gtk/gtkwidgetpaintableprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkwidgetpaintableprivate.h b/gtk/gtkwidgetpaintableprivate.h
index e971251abc..381d28a806 100644
--- a/gtk/gtkwidgetpaintableprivate.h
+++ b/gtk/gtkwidgetpaintableprivate.h
@@ -25,5 +25,7 @@
void gtk_widget_paintable_update_image (GtkWidgetPaintable *self);
+void gtk_widget_paintable_push_snapshot_count (GtkWidgetPaintable *self);
+void gtk_widget_paintable_pop_snapshot_count (GtkWidgetPaintable *self);
#endif /* __GTK_WIDGET_PAINTABLE_PRIVATE_H__ */