diff options
author | Milan Crha <mcrha@redhat.com> | 2009-11-03 20:06:38 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-11-03 20:06:38 +0800 |
commit | c75bacce45e0cad3ea01d506472d7d1d9ef9611a (patch) | |
tree | 5c5a964004b81b500d62c8e6f8d49ff5d21f688e /shell/e-shell-view.c | |
parent | 9f955cf7c15840cf4a502f01beb49851f83bd20e (diff) | |
download | gsoc2013-evolution-c75bacce45e0cad3ea01d506472d7d1d9ef9611a.tar.gz gsoc2013-evolution-c75bacce45e0cad3ea01d506472d7d1d9ef9611a.tar.zst gsoc2013-evolution-c75bacce45e0cad3ea01d506472d7d1d9ef9611a.zip |
Fix few compiler warnings
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r-- | shell/e-shell-view.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 3e8bd9400b..1197623b71 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -1148,13 +1148,13 @@ e_shell_view_show_popup_menu (EShellView *shell_view, EShellWindow *shell_window; GtkWidget *menu; - g_return_if_fail (E_IS_SHELL_VIEW (shell_view)); + g_return_val_if_fail (E_IS_SHELL_VIEW (shell_view), NULL); e_shell_view_update_actions (shell_view); shell_window = e_shell_view_get_shell_window (shell_view); menu = e_shell_window_get_managed_widget (shell_window, widget_path); - g_return_if_fail (GTK_IS_MENU (menu)); + g_return_val_if_fail (GTK_IS_MENU (menu), NULL); if (event != NULL) gtk_menu_popup ( |