[gtk+] LevelBar: Don’t pointlessly copy an allocation
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] LevelBar: Don’t pointlessly copy an allocation
- Date: Sat, 12 Aug 2017 14:18:07 +0000 (UTC)
commit c8e2ccd7a10214876a264a492d8be562297abdf6
Author: Daniel Boles <dboles src gnome org>
Date: Tue Aug 8 19:49:20 2017 +0100
LevelBar: Don’t pointlessly copy an allocation
now featuring the required comma :/
gtk/gtklevelbar.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtklevelbar.c b/gtk/gtklevelbar.c
index 5092b09..9c8637d 100644
--- a/gtk/gtklevelbar.c
+++ b/gtk/gtklevelbar.c
@@ -434,9 +434,8 @@ gtk_level_bar_allocate_trough_continuous (GtkLevelBar *self,
inverted = gtk_level_bar_get_real_inverted (self);
/* allocate the empty (unfilled) part */
- block_area = *allocation;
gtk_widget_size_allocate (self->priv->block_widget[inverted ? 0 : 1],
- &block_area,
+ allocation,
baseline,
out_clip);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]