aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-location-action.c
diff options
context:
space:
mode:
authorXan Lopez <xlopez@igalia.com>2011-05-22 18:29:47 +0800
committerXan Lopez <xlopez@igalia.com>2011-05-22 18:29:47 +0800
commitfb5aebd75337d9602de157670300e0a4a3473b91 (patch)
tree8f18957a2bacb1fc03b435fb6f4993d58b8cb81e /src/ephy-location-action.c
parentebc870195f52c780235dd477f8aa4ca1b23b6536 (diff)
downloadgsoc2013-epiphany-fb5aebd75337d9602de157670300e0a4a3473b91.tar.gz
gsoc2013-epiphany-fb5aebd75337d9602de157670300e0a4a3473b91.tar.zst
gsoc2013-epiphany-fb5aebd75337d9602de157670300e0a4a3473b91.zip
Stop propagating the "secure" boolean to the location action
It was only used to figure out whether to paint the entry background yellow, so we don't need it anymore.
Diffstat (limited to 'src/ephy-location-action.c')
-rw-r--r--src/ephy-location-action.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/ephy-location-action.c b/src/ephy-location-action.c
index ac9f1cf9e..283d23288 100644
--- a/src/ephy-location-action.c
+++ b/src/ephy-location-action.c
@@ -57,7 +57,6 @@ struct _EphyLocationActionPrivate
char *lock_tooltip;
guint editable : 1;
guint show_lock : 1;
- guint secure : 1;
gboolean sync_address_is_blocked;
};
@@ -78,7 +77,6 @@ enum
PROP_ICON,
PROP_LOCK_STOCK,
PROP_LOCK_TOOLTIP,
- PROP_SECURE,
PROP_SHOW_LOCK,
PROP_WINDOW
};
@@ -580,9 +578,6 @@ ephy_location_action_set_property (GObject *object,
g_free (priv->lock_tooltip);
priv->lock_tooltip = g_value_dup_string (value);
break;
- case PROP_SECURE:
- priv->secure = g_value_get_boolean (value);
- break;
case PROP_SHOW_LOCK:
priv->show_lock = g_value_get_boolean (value);
break;
@@ -618,9 +613,6 @@ ephy_location_action_get_property (GObject *object,
case PROP_LOCK_TOOLTIP:
g_value_set_string (value, priv->lock_tooltip);
break;
- case PROP_SECURE:
- g_value_set_boolean (value, priv->secure);
- break;
case PROP_SHOW_LOCK:
g_value_set_boolean (value, priv->show_lock);
break;
@@ -727,19 +719,6 @@ ephy_location_action_class_init (EphyLocationActionClass *class)
G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
/**
- * EphyLocationAction:secure:
- *
- * Whether the current page is loaded over a secure connection.
- */
- g_object_class_install_property (object_class,
- PROP_SECURE,
- g_param_spec_boolean ("secure",
- "Secure",
- "Whether the current page is loaded over a secure connection",
- FALSE,
- G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
-
- /**
* EphyLocationAction:show-lock:
*
* If we should show the security icon.