[gtk+] levelbar: fix parameter confusion
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] levelbar: fix parameter confusion
- Date: Tue, 5 Jan 2016 02:16:12 +0000 (UTC)
commit 183bcb41ecae92f73b07c4eca6f120e177f20735
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Jan 4 17:55:26 2016 -0800
levelbar: fix parameter confusion
We're always interested in the minimum size.
gtk/gtklevelbar.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtklevelbar.c b/gtk/gtklevelbar.c
index 61323aa..aad1876 100644
--- a/gtk/gtklevelbar.c
+++ b/gtk/gtklevelbar.c
@@ -268,7 +268,7 @@ gtk_level_bar_get_min_block_size (GtkLevelBar *self,
gtk_css_gadget_get_preferred_size (self->priv->block_gadget[0],
GTK_ORIENTATION_VERTICAL,
-1,
- NULL, block_height,
+ block_height, NULL,
NULL, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]