aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-view-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/menus/gal-view-factory.c')
-rw-r--r--widgets/menus/gal-view-factory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/menus/gal-view-factory.c b/widgets/menus/gal-view-factory.c
index c92053cd41..b570e3491b 100644
--- a/widgets/menus/gal-view-factory.c
+++ b/widgets/menus/gal-view-factory.c
@@ -42,8 +42,8 @@ d(static gint depth = 0;)
const char *
gal_view_factory_get_title (GalViewFactory *factory)
{
- g_return_val_if_fail (factory != NULL, 0);
- g_return_val_if_fail (GAL_IS_VIEW_FACTORY (factory), 0);
+ g_return_val_if_fail (factory != NULL, NULL);
+ g_return_val_if_fail (GAL_IS_VIEW_FACTORY (factory), NULL);
if (GAL_VIEW_FACTORY_GET_CLASS (factory)->get_title)
return GAL_VIEW_FACTORY_GET_CLASS (factory)->get_title (factory);