diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2012-05-10 20:26:34 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2012-06-05 02:44:45 +0800 |
commit | c4e887a6f01546a054b95ec78e407e326fd45c1a (patch) | |
tree | f09f360f22acad63ad88ddee99b0eb1f6581c168 | |
parent | db67dc8da8f07af861e6383c2e1f032343eedae7 (diff) | |
download | gsoc2013-epiphany-c4e887a6f01546a054b95ec78e407e326fd45c1a.tar.gz gsoc2013-epiphany-c4e887a6f01546a054b95ec78e407e326fd45c1a.tar.zst gsoc2013-epiphany-c4e887a6f01546a054b95ec78e407e326fd45c1a.zip |
ephy-location-controller: add missing default case in set/get_property methods
https://bugzilla.gnome.org/show_bug.cgi?id=675804
-rw-r--r-- | src/ephy-location-controller.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ephy-location-controller.c b/src/ephy-location-controller.c index 15d6f223d..aed7e9c98 100644 --- a/src/ephy-location-controller.c +++ b/src/ephy-location-controller.c @@ -443,6 +443,8 @@ ephy_location_controller_set_property (GObject *object, case PROP_LOCATION_ENTRY: priv->location_entry = EPHY_LOCATION_ENTRY (g_value_get_object (value)); break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } @@ -472,10 +474,8 @@ ephy_location_controller_get_property (GObject *object, case PROP_SHOW_LOCK: g_value_set_boolean (value, priv->show_lock); break; - case PROP_WINDOW: - case PROP_LOCATION_ENTRY: - /* not readable */ - break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); } } |