From dee341fc355c9ddca3753204bfe9f51bfa353dce Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Sun, 22 Apr 2012 19:25:16 +0200 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkstyleproviderprivate.c b/gtk/gtkstyleproviderprivate.c index a646201950..c7284da1db 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)