[libhandy/wip/haecker-felix/flap-widget: 107/138] Apply 3 suggestion(s) to 1 file(s)
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy/wip/haecker-felix/flap-widget: 107/138] Apply 3 suggestion(s) to 1 file(s)
- Date: Mon, 16 Nov 2020 21:55:16 +0000 (UTC)
commit 107f17ca07abd953ed7e3889b381dee9e15c4a9e
Author: Felix Häcker <haeckerfelix gnome org>
Date: Mon Jul 27 12:49:16 2020 +0000
Apply 3 suggestion(s) to 1 file(s)
src/hdy-flap.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/hdy-flap.c b/src/hdy-flap.c
index b2486914..dc5a3668 100644
--- a/src/hdy-flap.c
+++ b/src/hdy-flap.c
@@ -66,8 +66,9 @@ enum {
static GParamSpec *props[LAST_PROP];
static void
-set_orientation (HdyFlap *self,
+set_orientation (HdyFlap *self,
GtkOrientation orientation)
+
{
if (self->orientation == orientation)
return;
@@ -175,7 +176,7 @@ hdy_flap_get_preferred_width_for_height (GtkWidget *widget,
gint *natural)
{
hdy_flap_measure (widget, GTK_ORIENTATION_HORIZONTAL, height,
- minimum, natural, NULL, NULL);
+ minimum, natural, NULL, NULL);
}
static void
@@ -447,7 +448,7 @@ hdy_flap_set_flap_mode (HdyFlap *self,
GtkPackType
hdy_flap_get_flap_position (HdyFlap *self)
{
- g_return_val_if_fail (HDY_IS_FLAP (self), FALSE);
+ g_return_val_if_fail (HDY_IS_FLAP (self), GTK_PACK_START);
return self->flap_position;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]