[gtk+] StyleProviderPrivate: mark internal variable as static
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] StyleProviderPrivate: mark internal variable as static
- Date: Mon, 23 Apr 2012 17:16:30 +0000 (UTC)
commit dee341fc355c9ddca3753204bfe9f51bfa353dce
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Sun Apr 22 19:25:16 2012 +0200
StyleProviderPrivate: mark internal variable as static
Otherwise, it could conflict with other symbols with the same
name exported by a different shared library, with undefined
effects.
https://bugzilla.gnome.org/show_bug.cgi?id=674577
gtk/gtkstyleproviderprivate.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstyleproviderprivate.c b/gtk/gtkstyleproviderprivate.c
index a646201..c7284da 100644
--- a/gtk/gtkstyleproviderprivate.c
+++ b/gtk/gtkstyleproviderprivate.c
@@ -29,7 +29,7 @@ enum {
G_DEFINE_INTERFACE (GtkStyleProviderPrivate, _gtk_style_provider_private, GTK_TYPE_STYLE_PROVIDER)
-guint signals[LAST_SIGNAL];
+static guint signals[LAST_SIGNAL];
static void
_gtk_style_provider_private_default_init (GtkStyleProviderPrivateInterface *iface)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]