aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r--src/ephy-tab.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 6095d526a..aba0f8f40 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -148,9 +148,9 @@ static void ephy_tab_set_popups_allowed (EphyTab *tab,
GType
ephy_tab_get_type (void)
{
- static GType ephy_tab_type = 0;
+ static GType type = 0;
- if (ephy_tab_type == 0)
+ if (G_UNLIKELY (type == 0))
{
static const GTypeInfo our_info =
{
@@ -165,12 +165,12 @@ ephy_tab_get_type (void)
(GInstanceInitFunc) ephy_tab_init
};
- ephy_tab_type = g_type_register_static (GTK_TYPE_BIN,
- "EphyTab",
- &our_info, 0);
+ type = g_type_register_static (GTK_TYPE_BIN,
+ "EphyTab",
+ &our_info, 0);
}
- return ephy_tab_type;
+ return type;
}
static void