[network-manager-pptp/th/vpn-editor-split-bgo766623: 18/21] properties: rename file "nm-pptp.c" to "nm-pptp-editor.c"



commit 1b1a9236e0068d79d202648c944c38d203e1abd6
Author: Thomas Haller <thaller redhat com>
Date:   Wed May 18 20:13:03 2016 +0200

    properties: rename file "nm-pptp.c" to "nm-pptp-editor.c"
    
    Originally, "nm-pptp.c" contained both the NMVpnEditorPlugin
    and NMVpnEditor implementation. The former now moved to
    "nm-pptp-editor-plugin.c", so rename the file to reflect that this
    is the NMVpnEditor.

 po/POTFILES.in                             |    2 +-
 properties/Makefile.am                     |    4 ++--
 properties/advanced-dialog.c               |    9 ---------
 properties/import-export.c                 |    2 --
 properties/nm-pptp-editor-plugin.c         |    2 +-
 properties/{nm-pptp.c => nm-pptp-editor.c} |    2 +-
 properties/{nm-pptp.h => nm-pptp-editor.h} |    0
 7 files changed, 5 insertions(+), 16 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 9e5f428..8b36ebd 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -4,7 +4,7 @@ appdata/network-manager-pptp.metainfo.xml.in
 auth-dialog/main.c
 properties/advanced-dialog.c
 properties/nm-pptp-editor-plugin.c
-properties/nm-pptp.c
+properties/nm-pptp-editor.c
 shared/nm-utils/nm-shared-utils.c
 shared/nm-vpn/nm-vpn-plugin-utils.c
 src/nm-pptp-service.c
diff --git a/properties/Makefile.am b/properties/Makefile.am
index 4ae94dd..d0bf1e6 100644
--- a/properties/Makefile.am
+++ b/properties/Makefile.am
@@ -15,8 +15,8 @@ plugin_sources = \
 editor_sources = \
     advanced-dialog.c \
     advanced-dialog.h \
-    nm-pptp.c \
-    nm-pptp.h
+    nm-pptp-editor.c \
+    nm-pptp-editor.h
 
 uidir = $(datadir)/gnome-vpn-properties/pptp
 ui_DATA = nm-pptp-dialog.ui
diff --git a/properties/advanced-dialog.c b/properties/advanced-dialog.c
index 4ccae14..3d06173 100644
--- a/properties/advanced-dialog.c
+++ b/properties/advanced-dialog.c
@@ -24,17 +24,8 @@
 
 #include "advanced-dialog.h"
 
-#include <string.h>
-#include <sys/types.h>
-#include <stdlib.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <unistd.h>
 #include <errno.h>
 
-#include "nm-pptp.h"
-
-
 #define COL_NAME  0
 #define COL_VALUE 1
 #define COL_TAG 2
diff --git a/properties/import-export.c b/properties/import-export.c
index 3b27df7..e63b649 100644
--- a/properties/import-export.c
+++ b/properties/import-export.c
@@ -32,8 +32,6 @@
 #include <errno.h>
 #include <ctype.h>
 
-#include "nm-pptp.h"
-
 NMConnection *
 do_import (const char *path, char **lines, GError **error)
 {
diff --git a/properties/nm-pptp-editor-plugin.c b/properties/nm-pptp-editor-plugin.c
index 8f39a44..c41d14d 100644
--- a/properties/nm-pptp-editor-plugin.c
+++ b/properties/nm-pptp-editor-plugin.c
@@ -25,7 +25,7 @@
 
 #include "nm-pptp-editor-plugin.h"
 
-#include "nm-pptp.h"
+#include "nm-pptp-editor.h"
 #include "import-export.h"
 
 #define PPTP_PLUGIN_NAME    _("Point-to-Point Tunneling Protocol (PPTP)")
diff --git a/properties/nm-pptp.c b/properties/nm-pptp-editor.c
similarity index 99%
rename from properties/nm-pptp.c
rename to properties/nm-pptp-editor.c
index 5f73c80..a47a4af 100644
--- a/properties/nm-pptp.c
+++ b/properties/nm-pptp-editor.c
@@ -22,7 +22,7 @@
 
 #include "nm-default.h"
 
-#include "nm-pptp.h"
+#include "nm-pptp-editor.h"
 
 #include <gtk/gtk.h>
 
diff --git a/properties/nm-pptp.h b/properties/nm-pptp-editor.h
similarity index 100%
rename from properties/nm-pptp.h
rename to properties/nm-pptp-editor.h


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]