aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-location-action.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-location-action.c')
-rw-r--r--src/ephy-location-action.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ephy-location-action.c b/src/ephy-location-action.c
index ef7c31eb8..bfb3440bf 100644
--- a/src/ephy-location-action.c
+++ b/src/ephy-location-action.c
@@ -74,7 +74,7 @@ ephy_location_action_get_type (void)
{
static GType type = 0;
- if (!type)
+ if (G_UNLIKELY (type == 0))
{
static const GTypeInfo type_info =
{
@@ -93,6 +93,7 @@ ephy_location_action_get_type (void)
"EphyLocationAction",
&type_info, 0);
}
+
return type;
}