summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-06-07 16:34:29 +0200
committerLubomir Rintel <lkundrak@v3.sk>2018-06-19 19:58:03 +0200
commitb73e046a0758ce9f4f251f36a4c27afecaf46bc3 (patch)
treebe6bb2a842a67335cc78f3bedc2bb3a4626f1537
parentcb250c0031eea8793e6a5297e6e893fd50d475f2 (diff)
downloadnetwork-manager-applet-b73e046a0758ce9f4f251f36a4c27afecaf46bc3.tar.gz
editor/connection-editor: drop signal slots
They're offensive.
-rw-r--r--src/connection-editor/nm-connection-editor.c3
-rw-r--r--src/connection-editor/nm-connection-editor.h3
2 files changed, 1 insertions, 5 deletions
diff --git a/src/connection-editor/nm-connection-editor.c b/src/connection-editor/nm-connection-editor.c
index efb2d81a..f668d01f 100644
--- a/src/connection-editor/nm-connection-editor.c
+++ b/src/connection-editor/nm-connection-editor.c
@@ -541,8 +541,7 @@ nm_connection_editor_class_init (NMConnectionEditorClass *klass)
g_signal_new (NM_CONNECTION_EDITOR_DONE,
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_FIRST,
- G_STRUCT_OFFSET (NMConnectionEditorClass, done),
- NULL, NULL, NULL,
+ 0, NULL, NULL, NULL,
G_TYPE_NONE, 1, GTK_TYPE_RESPONSE_TYPE);
}
diff --git a/src/connection-editor/nm-connection-editor.h b/src/connection-editor/nm-connection-editor.h
index 65391af2..fc55e2e7 100644
--- a/src/connection-editor/nm-connection-editor.h
+++ b/src/connection-editor/nm-connection-editor.h
@@ -79,9 +79,6 @@ typedef struct {
typedef struct {
GObjectClass parent_class;
-
- /* Signals */
- void (*done) (NMConnectionEditor *editor, gint result, GError *error);
} NMConnectionEditorClass;
typedef enum {