[glib] Hide global variable for signal ID in gdbusproxy.c.
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Hide global variable for signal ID in gdbusproxy.c.
- Date: Fri, 24 Feb 2012 03:19:41 +0000 (UTC)
commit 21457abdccc06087ee4e20f8f0e4449b318f6723
Author: Daiki Ueno <ueno unixuser org>
Date: Fri Feb 24 10:12:08 2012 +0900
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
gio/gdbusproxy.c | 2 +-
gio/gdbusserver.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]