[gnome-user-share] user_share-private: Remove password fns
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-user-share] user_share-private: Remove password fns
- Date: Fri, 15 Jul 2022 10:25:17 +0000 (UTC)
commit 2d2282b2de2064d008f694ab9f4caba8f46f67f6
Author: Maximiliano Sandoval R <msandova gnome org>
Date: Fri Jul 15 10:48:28 2022 +0200
user_share-private: Remove password fns
They are not used anywhere. And this is in a private header.
This is fallback from
https://gitlab.gnome.org/GNOME/gnome-user-share/-/commit/8937b254af31f9e4f74a1e100375bad945a6d12e.
src/meson.build | 1 -
src/user_share-private.c | 65 ------------------------------------------------
src/user_share-private.h | 9 -------
3 files changed, 75 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index 17bfe76..128de3b 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -21,7 +21,6 @@ libuser_share_common_dep = declare_dependency(
sources = files(
'http.c',
- 'user_share-private.c',
'user_share-webdav.c',
)
diff --git a/src/user_share-private.h b/src/user_share-private.h
index 1b02ba3..8cf15d6 100644
--- a/src/user_share-private.h
+++ b/src/user_share-private.h
@@ -28,13 +28,4 @@
#define GNOME_USER_SHARE_SCHEMAS "org.gnome.desktop.file-sharing"
#define FILE_SHARING_REQUIRE_PASSWORD "require-password"
-typedef enum {
- PASSWORD_NEVER,
- PASSWORD_ON_WRITE,
- PASSWORD_ALWAYS
-} PasswordSetting;
-
-const char *password_string_from_setting (PasswordSetting setting);
-PasswordSetting password_setting_from_string (const char *str);
-
#endif /* _USER_SHARE_PRIVATE_H_ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]