From: Daiki Ueno Date: Fri, 24 Feb 2012 01:12:08 +0000 (+0900) Subject: Hide global variable for signal ID in gdbusproxy.c. X-Git-Tag: 2.31.20~86 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21457abdccc06087ee4e20f8f0e4449b318f6723;p=platform%2Fupstream%2Fglib.git Hide global variable for signal ID in gdbusproxy.c. Also a similar fix for gdbusserver.c. https://bugzilla.gnome.org/show_bug.cgi?id=670721 --- diff --git a/gio/gdbusproxy.c b/gio/gdbusproxy.c index 2ec99dc..906faa4 100644 --- a/gio/gdbusproxy.c +++ b/gio/gdbusproxy.c @@ -180,7 +180,7 @@ enum LAST_SIGNAL, }; -guint signals[LAST_SIGNAL] = {0}; +static guint signals[LAST_SIGNAL] = {0}; static void dbus_interface_iface_init (GDBusInterfaceIface *dbus_interface_iface); static void initable_iface_init (GInitableIface *initable_iface); diff --git a/gio/gdbusserver.c b/gio/gdbusserver.c index faa18b2..7dde453 100644 --- a/gio/gdbusserver.c +++ b/gio/gdbusserver.c @@ -148,7 +148,7 @@ enum LAST_SIGNAL, }; -guint _signals[LAST_SIGNAL] = {0}; +static guint _signals[LAST_SIGNAL] = {0}; static void initable_iface_init (GInitableIface *initable_iface);