diff options
Diffstat (limited to 'embed/ephy-permission-manager.c')
-rw-r--r-- | embed/ephy-permission-manager.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/embed/ephy-permission-manager.c b/embed/ephy-permission-manager.c index f5a390964..a86506b6d 100644 --- a/embed/ephy-permission-manager.c +++ b/embed/ephy-permission-manager.c @@ -22,32 +22,10 @@ #include "config.h" #include "ephy-permission-manager.h" +#include "ephy-embed-type-builtins.h" #include "ephy-marshal.h" #include "ephy-debug.h" -/* EphyPermissionInfo */ - -GType -ephy_permission_get_type (void) -{ - static GType type = 0; - - if (G_UNLIKELY (type == 0)) - { - static const GEnumValue values[] = - { - { EPHY_PERMISSION_ALLOWED, "EPHY_PERMISSION_ALLOWED", "allowed" }, - { EPHY_PERMISSION_DENIED, "EPHY_PERMISSION_DENIED", "denied" }, - { EPHY_PERMISSION_DEFAULT, "EPHY_PERMISSION_DEFAULT", "default" }, - { 0, NULL, NULL } - }; - - type = g_enum_register_static ("EphyPermission", values); - } - - return type; -} - GType ephy_permission_info_get_type (void) { |