[network-manager-applet/jk/applet-tooltip-bgo737585: 1/2] 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/jk/applet-tooltip-bgo737585: 1/2] applet: make applet_find_active_connection_for_device() static
- Date: Tue, 25 Nov 2014 08:47:45 +0000 (UTC)
commit ebbcdf28aab6c4e900d6fe7dbf448c6eb3215633
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]