diff options
author | Michael Catanzaro <mcatanzaro@gnome.org> | 2016-09-10 21:18:30 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@gnome.org> | 2016-09-10 21:18:30 -0500 |
commit | e797e97dabed7a8ff7a6cd809d9cc8f4cab8b0bb (patch) | |
tree | fc809d073dd21d5b494ff4f1158d15b5d832128b /src/ephy-encoding-dialog.h | |
parent | 47117f4634949c156a898ca43e4e4a3e129437e7 (diff) | |
download | epiphany-e797e97dabed7a8ff7a6cd809d9cc8f4cab8b0bb.tar.gz |
Start using #pragma once
It's now required by WebKit, so no reason not to.
Also, clean up a couple places that are missing G_BEGIN_DECLS. Not that
it matters at all, since we don't use any C++.
Diffstat (limited to 'src/ephy-encoding-dialog.h')
-rw-r--r-- | src/ephy-encoding-dialog.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ephy-encoding-dialog.h b/src/ephy-encoding-dialog.h index b5d9e8546..aac354a43 100644 --- a/src/ephy-encoding-dialog.h +++ b/src/ephy-encoding-dialog.h @@ -16,8 +16,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef EPHY_ENCODING_DIALOG_H -#define EPHY_ENCODING_DIALOG_H +#pragma once #include "ephy-window.h" #include <gtk/gtk.h> @@ -30,5 +29,3 @@ G_DECLARE_FINAL_TYPE (EphyEncodingDialog, ephy_encoding_dialog, EPHY, ENCODING_D EphyEncodingDialog *ephy_encoding_dialog_new (EphyWindow *window); G_END_DECLS - -#endif /* EPHY_ENCODING_DIALOG_H */ |