diff options
author | Xan Lopez <xan@igalia.com> | 2012-05-10 04:44:30 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-05-10 04:44:30 +0800 |
commit | 709640d00c38c91f3ec41f09b0497520caea1fb3 (patch) | |
tree | 8182176c34ebbe55ae1a2167581662b8a8779bc2 /src | |
parent | 3a759d2daf17ee1152bc3cfc6b1e7eb198177e76 (diff) | |
download | gsoc2013-epiphany-709640d00c38c91f3ec41f09b0497520caea1fb3.tar.gz gsoc2013-epiphany-709640d00c38c91f3ec41f09b0497520caea1fb3.tar.zst gsoc2013-epiphany-709640d00c38c91f3ec41f09b0497520caea1fb3.zip |
ephy-window: no need to cast the return value of g_object_new
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-window.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 4d16a25c6..3f5666617 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -3568,9 +3568,9 @@ ephy_window_init (EphyWindow *window) EphyWindow * ephy_window_new (void) { - return EPHY_WINDOW (g_object_new (EPHY_TYPE_WINDOW, - "application", GTK_APPLICATION (ephy_shell), - NULL)); + return g_object_new (EPHY_TYPE_WINDOW, + "application", GTK_APPLICATION (ephy_shell), + NULL); } /** @@ -3586,11 +3586,11 @@ EphyWindow * ephy_window_new_with_chrome (EphyWebViewChrome chrome, gboolean is_popup) { - return EPHY_WINDOW (g_object_new (EPHY_TYPE_WINDOW, - "chrome", chrome, - "is-popup", is_popup, - "application", GTK_APPLICATION (ephy_shell), - NULL)); + return g_object_new (EPHY_TYPE_WINDOW, + "chrome", chrome, + "is-popup", is_popup, + "application", GTK_APPLICATION (ephy_shell), + NULL); } /** |