diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2014-11-25 09:20:58 +0100 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2014-11-27 10:26:39 +0100 |
commit | d63ad671fd20a0dfc82738eecb4e7b4e013311ee (patch) | |
tree | 5c31d47db5c25364ef9856c7cbd00b7ba1cb1ec3 | |
parent | e31bc5ea7428ce3e5e04ee5264f4d7561e825741 (diff) | |
download | network-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.c | 2 | ||||
-rw-r--r-- | src/applet.h | 4 |
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); |