summaryrefslogtreecommitdiff
path: root/gtk/gtkmenushell.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-09-19 01:58:46 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-09-19 01:58:46 -0400
commit1dcd209cddcbc81e9cd6c13a16b8e06aa1272964 (patch)
tree66448855d918a4a19a248a68285baedde0ab2d8d /gtk/gtkmenushell.c
parent8e117b6f3a486915bd95535cf2be6f6f9bd7bd7e (diff)
downloadgtk+-1dcd209cddcbc81e9cd6c13a16b8e06aa1272964.tar.gz
Fix a few dubious return values in return_if_fail calls
These were pointed out in bug 623958.
Diffstat (limited to 'gtk/gtkmenushell.c')
-rw-r--r--gtk/gtkmenushell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmenushell.c b/gtk/gtkmenushell.c
index 9aee0f1fd0..978d2db454 100644
--- a/gtk/gtkmenushell.c
+++ b/gtk/gtkmenushell.c
@@ -1819,7 +1819,7 @@ _gtk_menu_shell_get_grab_device (GtkMenuShell *menu_shell)
{
GtkMenuShellPrivate *priv;
- g_return_val_if_fail (GTK_IS_MENU_SHELL (menu_shell), FALSE);
+ g_return_val_if_fail (GTK_IS_MENU_SHELL (menu_shell), NULL);
priv = GTK_MENU_SHELL_GET_PRIVATE (menu_shell);