[libhandy/wip/haecker-felix/flap-widget: 117/138] Set -1 instead of NULL
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy/wip/haecker-felix/flap-widget: 117/138] Set -1 instead of NULL
- Date: Mon, 16 Nov 2020 21:55:16 +0000 (UTC)
commit 9f1f79cb7e9bce5de8e41193614e45e9ea14c0b1
Author: Felix Häcker <haeckerfelix gnome org>
Date: Mon Jul 27 18:58:46 2020 +0200
Set -1 instead of NULL
src/hdy-flap.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/hdy-flap.c b/src/hdy-flap.c
index d4baab8b..8acdde33 100644
--- a/src/hdy-flap.c
+++ b/src/hdy-flap.c
@@ -376,7 +376,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, -1, -1);
}
static void
@@ -385,7 +385,7 @@ hdy_flap_get_preferred_width (GtkWidget *widget,
gint *natural)
{
hdy_flap_measure (widget, GTK_ORIENTATION_HORIZONTAL, -1,
- minimum, natural, NULL, NULL);
+ minimum, natural, -1, -1);
}
@@ -396,7 +396,7 @@ hdy_flap_get_preferred_height_for_width (GtkWidget *widget,
gint *natural)
{
hdy_flap_measure (widget, GTK_ORIENTATION_VERTICAL, width,
- minimum, natural, NULL, NULL);
+ minimum, natural, -1, -1);
}
static void
@@ -405,7 +405,7 @@ hdy_flap_get_preferred_height (GtkWidget *widget,
gint *natural)
{
hdy_flap_measure (widget, GTK_ORIENTATION_VERTICAL, -1,
- minimum, natural, NULL, NULL);
+ minimum, natural, -1, -1);
}
static void
@@ -686,7 +686,7 @@ hdy_flap_get_flap_position (HdyFlap *self)
* Since: 1.0
*/
void
-hdy_flap_set_flap_position (HdyFlap *self,
+hdy_flap_set_flap_position (HdyFlap *self,
GtkPackType flap_position)
{
g_return_if_fail (HDY_IS_FLAP (self));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]