summaryrefslogtreecommitdiff
path: root/gtk/gtkprogressbar.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-11-13 21:08:34 +0100
committerBenjamin Otte <otte@redhat.com>2016-11-15 17:48:45 +0100
commitda207c9fdd1653923ce718dcb58480eaba9234cb (patch)
treef6577dbf79d01bce95bb9fe019aaead0e2d0591d /gtk/gtkprogressbar.c
parent4e06d8f73c9eabd405ed32ec2e141715a8cca505 (diff)
downloadgtk+-da207c9fdd1653923ce718dcb58480eaba9234cb.tar.gz
snapshot: Add a snapshot function to GtkCssCustomGadget
Diffstat (limited to 'gtk/gtkprogressbar.c')
-rw-r--r--gtk/gtkprogressbar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c
index d42f7f48e1..6a0c8e8618 100644
--- a/gtk/gtkprogressbar.c
+++ b/gtk/gtkprogressbar.c
@@ -441,6 +441,7 @@ gtk_progress_bar_init (GtkProgressBar *pbar)
gtk_progress_bar_allocate,
gtk_progress_bar_render,
NULL,
+ NULL,
NULL);
priv->trough_gadget = gtk_css_custom_gadget_new ("trough",
@@ -451,6 +452,7 @@ gtk_progress_bar_init (GtkProgressBar *pbar)
gtk_progress_bar_allocate_trough,
gtk_progress_bar_render_trough,
NULL,
+ NULL,
NULL);
priv->progress_gadget = gtk_css_custom_gadget_new ("progress",
@@ -461,6 +463,7 @@ gtk_progress_bar_init (GtkProgressBar *pbar)
NULL,
NULL,
NULL,
+ NULL,
NULL);
update_node_state (pbar);
@@ -1323,6 +1326,7 @@ gtk_progress_bar_set_show_text (GtkProgressBar *pbar,
NULL,
gtk_progress_bar_render_text,
NULL,
+ NULL,
NULL);
g_signal_connect (gtk_css_gadget_get_node (priv->text_gadget), "style-changed",
G_CALLBACK (gtk_progress_bar_text_style_changed), pbar);