[gnome-control-center] sharing: Replace ifdefs with #pragma once
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] sharing: Replace ifdefs with #pragma once
- Date: Wed, 27 Nov 2019 22:01:49 +0000 (UTC)
commit 51e0b38774934c4289fbbf3e767e069b34afca5f
Author: Robert Ancell <robert ancell canonical com>
Date: Thu Nov 21 20:40:47 2019 +1300
sharing: Replace ifdefs with #pragma once
panels/sharing/cc-gnome-remote-desktop.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/panels/sharing/cc-gnome-remote-desktop.h b/panels/sharing/cc-gnome-remote-desktop.h
index 2a4819986..15565d3f4 100644
--- a/panels/sharing/cc-gnome-remote-desktop.h
+++ b/panels/sharing/cc-gnome-remote-desktop.h
@@ -17,12 +17,13 @@
*
*/
-#ifndef CC_GNOME_REMOTE_DESKTOP_H
-#define CC_GNOME_REMOTE_DESKTOP_H
+#pragma once
#include <gtk/gtk.h>
#include <libsecret/secret.h>
+G_BEGIN_DECLS
+
const SecretSchema * cc_grd_vnc_password_get_schema (void);
#define CC_GRD_VNC_PASSWORD_SCHEMA cc_grd_vnc_password_get_schema ()
@@ -46,4 +47,4 @@ void cc_grd_on_vnc_password_entry_notify_text (GtkEntry *entry,
GParamSpec *pspec,
gpointer user_data);
-#endif /* CC_GNOME_REMOTE_DESKTOP_H */
+G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]