[libadwaita] squeezer: Reduce the scope of some variables
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita] squeezer: Reduce the scope of some variables
- Date: Mon, 26 Jul 2021 08:09:08 +0000 (UTC)
commit 8eae01f3e47ac6dc08b3cb077a01fb094712b932
Author: Adrien Plazas <kekun plazas laposte net>
Date: Fri Jul 23 15:00:30 2021 +0200
squeezer: Reduce the scope of some variables
src/adw-squeezer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/adw-squeezer.c b/src/adw-squeezer.c
index 35a2ae01..28ee0e91 100644
--- a/src/adw-squeezer.c
+++ b/src/adw-squeezer.c
@@ -875,12 +875,12 @@ adw_squeezer_size_allocate (GtkWidget *widget,
{
AdwSqueezer *self = ADW_SQUEEZER (widget);
AdwSqueezerPage *page = NULL;
- GtkWidget *child = NULL;
- int child_min;
GList *l;
GtkAllocation child_allocation;
for (l = self->children; l; l = l->next) {
+ GtkWidget *child = NULL;
+ int child_min;
int for_size = -1;
page = l->data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]