diff options
author | Timm Bäder <mail@baedert.org> | 2019-01-18 08:01:40 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2019-01-18 19:43:50 +0100 |
commit | c49cc977fa53d148bda6768bfd1b7c0c34774d19 (patch) | |
tree | 4058a5d9a881c40f93a4f45a2b74bfa49606fb4c /gtk/gtkprogressbar.c | |
parent | 3ca688a6ddb629cab33ce9523dd8cbb9bd03b069 (diff) | |
download | gtk+-c49cc977fa53d148bda6768bfd1b7c0c34774d19.tar.gz |
gizmo: return void from snapshot func
This boolean return was from the old gadget code and we weren't using it
in the new gizmo code.
Diffstat (limited to 'gtk/gtkprogressbar.c')
-rw-r--r-- | gtk/gtkprogressbar.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c index 921386cb12..d4c54e443b 100644 --- a/gtk/gtkprogressbar.c +++ b/gtk/gtkprogressbar.c @@ -446,7 +446,7 @@ allocate_trough (GtkGizmo *gizmo, } -static gboolean +static void snapshot_trough (GtkGizmo *gizmo, GtkSnapshot *snapshot) @@ -455,8 +455,6 @@ snapshot_trough (GtkGizmo *gizmo, GtkProgressBarPrivate *priv = gtk_progress_bar_get_instance_private (pbar); gtk_widget_snapshot_child (GTK_WIDGET (gizmo), priv->progress_widget, snapshot); - - return FALSE; } static void |