summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2014-11-25 09:20:58 +0100
committerJiří Klimeš <jklimes@redhat.com>2014-11-27 10:26:39 +0100
commitd63ad671fd20a0dfc82738eecb4e7b4e013311ee (patch)
tree5c31d47db5c25364ef9856c7cbd00b7ba1cb1ec3
parente31bc5ea7428ce3e5e04ee5264f4d7561e825741 (diff)
downloadnetwork-manager-applet-d63ad671fd20a0dfc82738eecb4e7b4e013311ee.tar.gz
applet: make applet_find_active_connection_for_device() static
It is only used in applet.c.
-rw-r--r--src/applet.c2
-rw-r--r--src/applet.h4
2 files changed, 1 insertions, 5 deletions
diff --git a/src/applet.c b/src/applet.c
index f0536f88..6e9bcc88 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 23632f7c..e581634e 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);