diff options
Diffstat (limited to 'embed/downloader-view.c')
-rw-r--r-- | embed/downloader-view.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c index 56abd15c6..785a491ad 100644 --- a/embed/downloader-view.c +++ b/embed/downloader-view.c @@ -129,9 +129,9 @@ static GObjectClass *parent_class = NULL; GType downloader_view_get_type (void) { - static GType downloader_view_type = 0; + static GType type = 0; - if (downloader_view_type == 0) + if (G_UNLIKELY (type == 0)) { static const GTypeInfo our_info = { @@ -146,12 +146,12 @@ downloader_view_get_type (void) (GInstanceInitFunc) downloader_view_init }; - downloader_view_type = g_type_register_static (EPHY_TYPE_DIALOG, - "DownloaderView", - &our_info, 0); + type = g_type_register_static (EPHY_TYPE_DIALOG, + "DownloaderView", + &our_info, 0); } - return downloader_view_type; + return type; } static void |