diff options
author | Xan Lopez <xan@igalia.com> | 2013-02-13 07:32:25 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2013-02-13 07:32:25 +0800 |
commit | af1b92ab347b134e63e406a98a373d9b409e3516 (patch) | |
tree | 0ad888531ed2001ebc9f62749eb2925038939c3e /embed/ephy-web-view.c | |
parent | 7e0161351339d96b49e3c504ab5a0c0834a259b7 (diff) | |
download | gsoc2013-epiphany-af1b92ab347b134e63e406a98a373d9b409e3516.tar gsoc2013-epiphany-af1b92ab347b134e63e406a98a373d9b409e3516.tar.gz gsoc2013-epiphany-af1b92ab347b134e63e406a98a373d9b409e3516.tar.bz2 gsoc2013-epiphany-af1b92ab347b134e63e406a98a373d9b409e3516.tar.lz gsoc2013-epiphany-af1b92ab347b134e63e406a98a373d9b409e3516.tar.xz gsoc2013-epiphany-af1b92ab347b134e63e406a98a373d9b409e3516.tar.zst gsoc2013-epiphany-af1b92ab347b134e63e406a98a373d9b409e3516.zip |
Remove EphyWebView::visibility
This once was likely used to toggle the visibility of popups, but it's
now a no-op. When we re-introduce that feature we can do something
similar again.
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r-- | embed/ephy-web-view.c | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index ca5b170fd..a7a204f46 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -75,7 +75,6 @@ struct _EphyWebViewPrivate { /* Flags */ guint is_blank : 1; - guint visibility : 1; guint is_setting_zoom : 1; guint load_failed : 1; guint history_frozen : 1; @@ -133,7 +132,6 @@ enum { PROP_STATUS_MESSAGE, PROP_EMBED_TITLE, PROP_TYPED_ADDRESS, - PROP_VISIBLE, PROP_IS_BLANK, }; @@ -448,9 +446,6 @@ ephy_web_view_get_property (GObject *object, case PROP_STATUS_MESSAGE: g_value_set_string (value, priv->status_message); break; - case PROP_VISIBLE: - g_value_set_boolean (value, priv->visibility); - break; case PROP_IS_BLANK: g_value_set_boolean (value, priv->is_blank); break; @@ -482,7 +477,6 @@ ephy_web_view_set_property (GObject *object, case PROP_SECURITY: case PROP_STATUS_MESSAGE: case PROP_EMBED_TITLE: - case PROP_VISIBLE: case PROP_IS_BLANK: /* read only */ break; @@ -1526,19 +1520,6 @@ ephy_web_view_class_init (EphyWebViewClass *klass) G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); /** - * EphyWebView:visibility: - * - * - **/ - g_object_class_install_property (gobject_class, - PROP_VISIBLE, - g_param_spec_boolean ("visibility", - "Visibility", - "The view's visibility", - FALSE, - G_PARAM_READABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)); - -/** * EphyWebView:is-blank: * * Whether the view is showing the blank address. @@ -3382,23 +3363,6 @@ ephy_web_view_get_link_message (EphyWebView *view) } /** - * ephy_web_view_get_visibility: - * @view: an #EphyWebView - * - * Returns whether the @view's toplevel is visible or not. Used - * mostly for popup visibility management. - * - * Return value: %TRUE if @view's "visibility" property is set - **/ -gboolean -ephy_web_view_get_visibility (EphyWebView *view) -{ - g_return_val_if_fail (EPHY_IS_WEB_VIEW (view), FALSE); - - return view->priv->visibility; -} - -/** * ephy_web_view_set_link_message: * @view: an #EphyWebView * @link_message: new value for link-message in @view @@ -3447,29 +3411,6 @@ ephy_web_view_set_security_level (EphyWebView *view, } /** - * ephy_web_view_set_visibility: - * @view: an #EphyWebView - * @visibility: value for the visibility property of @view - * - * Sets whether the @view's toplevel is visible or not. See - * ephy_web_view_get_visibility(). - **/ -void -ephy_web_view_set_visibility (EphyWebView *view, - gboolean visibility) -{ - EphyWebViewPrivate *priv = view->priv; - - g_return_if_fail (EPHY_IS_WEB_VIEW (view)); - - if (priv->visibility != visibility) { - priv->visibility = visibility; - - g_object_notify (G_OBJECT (view), "visibility"); - } -} - -/** * ephy_web_view_get_typed_address: * @view: an #EphyWebView * |