diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-01-04 02:15:25 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-01-04 02:15:25 +0800 |
commit | 78c98f4f1bd781a6d83f91a37b3ed0c457d19457 (patch) | |
tree | d9b89f29e2c2bde7ded9943cfb3f7307bc48bb98 /src/ephy-tab.c | |
parent | c4b9c39ec588430681b25d52a1cd5f57dab716d4 (diff) | |
download | gsoc2013-epiphany-78c98f4f1bd781a6d83f91a37b3ed0c457d19457.tar gsoc2013-epiphany-78c98f4f1bd781a6d83f91a37b3ed0c457d19457.tar.gz gsoc2013-epiphany-78c98f4f1bd781a6d83f91a37b3ed0c457d19457.tar.bz2 gsoc2013-epiphany-78c98f4f1bd781a6d83f91a37b3ed0c457d19457.tar.lz gsoc2013-epiphany-78c98f4f1bd781a6d83f91a37b3ed0c457d19457.tar.xz gsoc2013-epiphany-78c98f4f1bd781a6d83f91a37b3ed0c457d19457.tar.zst gsoc2013-epiphany-78c98f4f1bd781a6d83f91a37b3ed0c457d19457.zip |
Another enum type.
2005-01-03 Christian Persch <chpe@cvs.gnome.org>
* embed/ephy-permission-manager.c: (ephy_permission_get_type):
* embed/ephy-permission-manager.h:
Another enum type.
* lib/ephy-marshal.list:
Remove unused marshal.
* src/ephy-tab.c: (ephy_tab_class_init):
Use enum for security level type.
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r-- | src/ephy-tab.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c index 5db93ddd8..4f0588a9d 100644 --- a/src/ephy-tab.c +++ b/src/ephy-tab.c @@ -423,13 +423,12 @@ ephy_tab_class_init (EphyTabClass *class) g_object_class_install_property (object_class, PROP_SECURITY, - g_param_spec_int ("security-level", - "Security Level", - "The tab's security level", + g_param_spec_enum ("security-level", + "Security Level", + "The tab's security level", + EPHY_TYPE_EMBED_SECURITY_LEVEL, STATE_IS_UNKNOWN, - STATE_IS_SECURE_HIGH, - STATE_IS_UNKNOWN, - G_PARAM_READABLE)); + G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_HIDDEN_POPUP_COUNT, |