From 827faa2a254a4c16dcac9c046467011a916615ac Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sun, 15 Jul 2018 22:25:03 +0200 Subject: [PATCH] app: minor cleanup in gimpguide.c --- app/core/gimpguide.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/app/core/gimpguide.c b/app/core/gimpguide.c index 9327a436f2..87da7f7f74 100644 --- a/app/core/gimpguide.c +++ b/app/core/gimpguide.c @@ -183,15 +183,11 @@ gimp_guide_custom_new (GimpOrientationType orientation, guint32 guide_ID, GimpGuideStyle guide_style) { - GimpGuide *guide; - - guide = g_object_new (GIMP_TYPE_GUIDE, - "id", guide_ID, - "orientation", orientation, - "style", guide_style, - NULL); - - return guide; + return g_object_new (GIMP_TYPE_GUIDE, + "id", guide_ID, + "orientation", orientation, + "style", guide_style, + NULL); } GimpOrientationType