[network-manager-applet] applet: make applet_find_active_connection_for_device() static
- From: Jiří Klimeš <jklimes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] applet: make applet_find_active_connection_for_device() static
- Date: Thu, 27 Nov 2014 09:57:04 +0000 (UTC)
commit d63ad671fd20a0dfc82738eecb4e7b4e013311ee
Author: Jiří Klimeš <jklimes redhat com>
Date: Tue Nov 25 09:20:58 2014 +0100
applet: make applet_find_active_connection_for_device() static
It is only used in applet.c.
src/applet.c | 2 +-
src/applet.h | 4 ----
2 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index f0536f8..6e9bcc8 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -1395,7 +1395,7 @@ nm_g_ptr_array_contains (const GPtrArray *haystack, gpointer needle)
return FALSE;
}
-NMConnection *
+static NMConnection *
applet_find_active_connection_for_device (NMDevice *device,
NMApplet *applet,
NMActiveConnection **out_active)
diff --git a/src/applet.h b/src/applet.h
index 23632f7..e581634 100644
--- a/src/applet.h
+++ b/src/applet.h
@@ -317,10 +317,6 @@ void applet_do_notify_with_pref (NMApplet *applet,
const char *icon,
const char *pref);
-NMConnection * applet_find_active_connection_for_device (NMDevice *device,
- NMApplet *applet,
- NMActiveConnection **out_active);
-
GtkWidget * applet_new_menu_item_helper (NMConnection *connection,
NMConnection *active,
gboolean add_active);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]