Dominique Leuenberger
d3f31ae0b0
Resubmit, with g-c-c-allow-yast rebased OBS-URL: https://build.opensuse.org/request/show/159240 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=178
42 lines
1.0 KiB
Diff
42 lines
1.0 KiB
Diff
From 840b6826be4299a405259d16593f0e6860d8fd94 Mon Sep 17 00:00:00 2001
|
|
From: Jasper St. Pierre <jstpierre@mecheye.net>
|
|
Date: Thu, 28 Feb 2013 22:25:37 +0000
|
|
Subject: Fix gcc warnings
|
|
|
|
---
|
|
(limited to 'libgd/gd-header-bar.c')
|
|
|
|
diff --git a/libgd/gd-header-bar.c b/libgd/gd-header-bar.c
|
|
index c362ded..0d5fcec 100644
|
|
--- a/libgd/gd-header-bar.c
|
|
+++ b/libgd/gd-header-bar.c
|
|
@@ -19,6 +19,8 @@
|
|
|
|
#include "gd-header-bar.h"
|
|
|
|
+#include <string.h>
|
|
+
|
|
/* TODO
|
|
* - wm communication
|
|
*/
|
|
@@ -159,7 +161,6 @@ gd_header_bar_get_size (GtkWidget *widget,
|
|
GList *l;
|
|
gint nvis_children;
|
|
gint minimum, natural;
|
|
- gint padding;
|
|
GtkBorder css_borders;
|
|
|
|
minimum = natural = 0;
|
|
@@ -493,7 +494,7 @@ gd_header_bar_size_allocate (GtkWidget *widget,
|
|
i = nvis_children - 1;
|
|
}
|
|
|
|
- for (l; l != NULL; (packing == GTK_PACK_START) ? (l = l->next) : (l = l->prev))
|
|
+ for (; l != NULL; (packing == GTK_PACK_START) ? (l = l->next) : (l = l->prev))
|
|
{
|
|
child = l->data;
|
|
if (!gtk_widget_get_visible (child->widget))
|
|
--
|
|
cgit v0.9.1
|
|
|