summaryrefslogtreecommitdiff
path: root/gtk/gtkbuilder.c
diff options
context:
space:
mode:
authorDaniel Svensson <dsvensson@gmail.com>2013-10-27 22:36:32 +0100
committerJasper St. Pierre <jstpierre@mecheye.net>2013-10-29 17:12:23 -0400
commit4d41903548408e0c8507f3ba79dcac59d14bc0f7 (patch)
tree4095b4c5ed8a523817a94bfbc3a7e583fb4fff20 /gtk/gtkbuilder.c
parentb3cffb85f39183a83a99e7517191e46bcd744749 (diff)
downloadgtk+-4d41903548408e0c8507f3ba79dcac59d14bc0f7.tar.gz
Use g_return_val_if_fail where return value needed.
https://bugzilla.gnome.org/show_bug.cgi?id=710987
Diffstat (limited to 'gtk/gtkbuilder.c')
-rw-r--r--gtk/gtkbuilder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c
index b76931e868..c6b6b2577a 100644
--- a/gtk/gtkbuilder.c
+++ b/gtk/gtkbuilder.c
@@ -2568,7 +2568,7 @@ gtk_builder_set_application (GtkBuilder *builder,
GtkApplication *
gtk_builder_get_application (GtkBuilder *builder)
{
- g_return_if_fail (GTK_IS_BUILDER (builder));
+ g_return_val_if_fail (GTK_IS_BUILDER (builder), NULL);
if (!builder->priv->application)
{