[gtk+/wip/action-helper] gtk_widget_get_action_group_by_name: use g_return_val_if_fail



commit cbc499ecc811ec8b0ba2b52fb3752b11baf13c1c
Author: Lars Uebernickel <lars uebernic de>
Date:   Thu Jun 21 16:37:17 2012 +0200

    gtk_widget_get_action_group_by_name: use g_return_val_if_fail

 gtk/gtkwidget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 71e6c63..916d1ea 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -14182,7 +14182,7 @@ GActionGroup *
 gtk_widget_get_action_group_by_name (GtkWidget   *widget,
                                      const gchar *name)
 {
-  g_return_if_fail (GTK_IS_WIDGET (widget), NULL);
+  g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
   g_return_val_if_fail (name != NULL, NULL);
 
   widget->priv->action_requested = TRUE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]