[gnome-control-center] network: Remove unused method
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: Remove unused method
- Date: Wed, 6 Nov 2019 12:38:39 +0000 (UTC)
commit 7ea59681e9361a538b3987eebcaf91f8714d6c55
Author: Robert Ancell <robert ancell canonical com>
Date: Wed Nov 6 21:48:41 2019 +1300
network: Remove unused method
panels/network/connection-editor/net-connection-editor.c | 9 ---------
panels/network/connection-editor/net-connection-editor.h | 1 -
2 files changed, 10 deletions(-)
---
diff --git a/panels/network/connection-editor/net-connection-editor.c
b/panels/network/connection-editor/net-connection-editor.c
index 20905f797..619e6c8e5 100644
--- a/panels/network/connection-editor/net-connection-editor.c
+++ b/panels/network/connection-editor/net-connection-editor.c
@@ -863,15 +863,6 @@ net_connection_editor_forget (NetConnectionEditor *self)
NULL, forgotten_cb, self);
}
-void
-net_connection_editor_reset (NetConnectionEditor *self)
-{
- g_autoptr(GVariant) settings = NULL;
-
- settings = nm_connection_to_dbus (self->orig_connection, NM_CONNECTION_SERIALIZE_ALL);
- nm_connection_replace_settings (self->connection, settings, NULL);
-}
-
void
net_connection_editor_set_title (NetConnectionEditor *self,
const gchar *title)
diff --git a/panels/network/connection-editor/net-connection-editor.h
b/panels/network/connection-editor/net-connection-editor.h
index 39c94b174..ba4bf34cb 100644
--- a/panels/network/connection-editor/net-connection-editor.h
+++ b/panels/network/connection-editor/net-connection-editor.h
@@ -37,7 +37,6 @@ void net_connection_editor_set_title (NetConnectionEditor *edit
const gchar *title);
void net_connection_editor_run (NetConnectionEditor *editor);
void net_connection_editor_forget (NetConnectionEditor *editor);
-void net_connection_editor_reset (NetConnectionEditor *editor);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]