[network-manager-applet/nma-0-9-10] applet: make applet_find_active_connection_for_device() static
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/nma-0-9-10] applet: make applet_find_active_connection_for_device() static
- Date: Mon, 8 Dec 2014 18:57:31 +0000 (UTC)
commit 70c966f41a52e24419ff6d3d8dda3846a1030f84
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.
(cherry picked from commit d63ad671fd20a0dfc82738eecb4e7b4e013311ee)
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 d264946..1861207 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -1391,7 +1391,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 2d80ac0..da45f4d 100644
--- a/src/applet.h
+++ b/src/applet.h
@@ -320,10 +320,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]