[epiphany/wip/bookmarks: 52/76] Save even more bytes by using #pragma once in new files!
- From: Iulian Radu <iulianradu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/bookmarks: 52/76] Save even more bytes by using #pragma once in new files!
- Date: Wed, 28 Sep 2016 13:21:10 +0000 (UTC)
commit 9d5d2fb446c947b67707b2ede1a9fd7db40f1794
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Thu Sep 22 20:15:10 2016 -0500
Save even more bytes by using #pragma once in new files!
src/ephy-add-bookmark-popover.h | 5 +----
src/ephy-bookmark-properties-grid.h | 5 +----
src/ephy-bookmark-row.h | 5 +----
src/ephy-bookmark.h | 5 +----
src/ephy-bookmarks-manager.h | 5 +----
src/ephy-bookmarks-popover.h | 5 +----
6 files changed, 6 insertions(+), 24 deletions(-)
---
diff --git a/src/ephy-add-bookmark-popover.h b/src/ephy-add-bookmark-popover.h
index 9a68fe6..82f4fc1 100644
--- a/src/ephy-add-bookmark-popover.h
+++ b/src/ephy-add-bookmark-popover.h
@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _EPHY_ADD_BOOKMARK_POPOVER_H
-#define _EPHY_ADD_BOOKMARK_POPOVER_H
+#pragma once
#include "ephy-header-bar.h"
@@ -34,5 +33,3 @@ GtkWidget *ephy_add_bookmark_popover_new (EphyHeaderBar *header_bar);
void ephy_add_bookmark_popover_show (EphyAddBookmarkPopover *self);
G_END_DECLS
-
-#endif /* _EPHY_ADD_BOOKMARK_POPOVER_H */
diff --git a/src/ephy-bookmark-properties-grid.h b/src/ephy-bookmark-properties-grid.h
index 1ea6a35..1f8e3da 100644
--- a/src/ephy-bookmark-properties-grid.h
+++ b/src/ephy-bookmark-properties-grid.h
@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _EPHY_BOOKMARK_PROPERTIES_GRID_H
-#define _EPHY_BOOKMARK_PROPERTIES_GRID_H
+#pragma once
#include "ephy-bookmark.h"
@@ -41,5 +40,3 @@ GtkWidget *ephy_bookmark_properties_grid_new (EphyBookmark
GtkWidget *ephy_bookmark_properties_grid_get_add_tag_button (EphyBookmarkPropertiesGrid *self);
G_END_DECLS
-
-#endif /* _EPHY_BOOKMARK_PROPERTIES_GRID_H */
diff --git a/src/ephy-bookmark-row.h b/src/ephy-bookmark-row.h
index f4541b2..bb0c91f 100644
--- a/src/ephy-bookmark-row.h
+++ b/src/ephy-bookmark-row.h
@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _EPHY_BOOKMARK_ROW_H
-#define _EPHY_BOOKMARK_ROW_H
+#pragma once
#include "ephy-bookmark.h"
@@ -34,5 +33,3 @@ GtkWidget *ephy_bookmark_row_new (EphyBookmark *bookmark);
EphyBookmark *ephy_bookmark_row_get_bookmark (EphyBookmarkRow *self);
G_END_DECLS
-
-#endif /* _EPHY_BOOKMARK_ROW_H */
diff --git a/src/ephy-bookmark.h b/src/ephy-bookmark.h
index 2904431..4c06607 100644
--- a/src/ephy-bookmark.h
+++ b/src/ephy-bookmark.h
@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _EPHY_BOOKMARK_H
-#define _EPHY_BOOKMARK_H
+#pragma once
#include <glib-object.h>
@@ -57,5 +56,3 @@ int ephy_bookmark_tags_compare (const char *tag1,
const char *tag2);
G_END_DECLS
-
-#endif /* _EPHY_BOOKMARK_H */
diff --git a/src/ephy-bookmarks-manager.h b/src/ephy-bookmarks-manager.h
index aaf80c5..9d65184 100644
--- a/src/ephy-bookmarks-manager.h
+++ b/src/ephy-bookmarks-manager.h
@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef EPHY_BOOKMARKS_MANAGER_H
-#define EPHY_BOOKMARKS_MANAGER_H
+#pragma once
#include "ephy-bookmark.h"
@@ -60,5 +59,3 @@ gboolean ephy_bookmarks_manager_save_to_file_finish (EphyBookmarksManager
void ephy_bookmarks_manager_load_from_file (EphyBookmarksManager *self);
G_END_DECLS
-
-#endif /* EPHY_BOOKMARKS_MANAGER_H */
diff --git a/src/ephy-bookmarks-popover.h b/src/ephy-bookmarks-popover.h
index 1a10d1d..bde5444 100644
--- a/src/ephy-bookmarks-popover.h
+++ b/src/ephy-bookmarks-popover.h
@@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef EPHY_BOOKMARKS_POPOVER_H
-#define EPHY_BOOKMARKS_POPOVER_H
+#pragma once
#include "ephy-window.h"
@@ -33,5 +32,3 @@ EphyBookmarksPopover* ephy_bookmarks_popover_new (EphyWindow *window)
G_END_DECLS
-
-#endif /* EPHY_BOOMARKS_POPOVER_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]