aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-permission-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-permission-manager.c')
-rw-r--r--embed/ephy-permission-manager.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/embed/ephy-permission-manager.c b/embed/ephy-permission-manager.c
index ec222ee33..19bdace60 100644
--- a/embed/ephy-permission-manager.c
+++ b/embed/ephy-permission-manager.c
@@ -19,25 +19,13 @@
*/
#include "config.h"
-
#include "ephy-permission-manager.h"
+
#include "ephy-embed-type-builtins.h"
#include "ephy-debug.h"
-GType
-ephy_permission_info_get_type (void)
-{
- static GType type = 0;
-
- if (G_UNLIKELY (type == 0))
- {
- type = g_boxed_type_register_static ("EphyPermissionInfo",
- (GBoxedCopyFunc) ephy_permission_info_copy,
- (GBoxedFreeFunc) ephy_permission_info_free);
- }
-
- return type;
-}
+G_DEFINE_BOXED_TYPE (EphyPermissionInfo, ephy_permission_info,
+ ephy_permission_info_copy, ephy_permission_info_free)
/**
* ephy_permission_info_new: