aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-download.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-download.c')
-rw-r--r--embed/ephy-download.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/embed/ephy-download.c b/embed/ephy-download.c
index b78fef143..612a506a4 100644
--- a/embed/ephy-download.c
+++ b/embed/ephy-download.c
@@ -54,9 +54,9 @@ static guint ephy_download_signals[LAST_SIGNAL] = { 0 };
GType
ephy_download_get_type (void)
{
- static GType ephy_download_type = 0;
+ static GType type = 0;
- if (ephy_download_type == 0)
+ if (G_UNLIKELY (type == 0))
{
static const GTypeInfo our_info =
{
@@ -71,12 +71,12 @@ ephy_download_get_type (void)
(GInstanceInitFunc) ephy_download_init
};
- ephy_download_type = g_type_register_static (G_TYPE_OBJECT,
- "EphyDownload",
- &our_info, 0);
+ type = g_type_register_static (G_TYPE_OBJECT,
+ "EphyDownload",
+ &our_info, 0);
}
- return ephy_download_type;
+ return type;
}
static void