app: minor cleanup in gimpguide.c

This commit is contained in:
Michael Natterer 2018-07-15 22:25:03 +02:00
parent bac29b4d67
commit 827faa2a25
1 changed files with 5 additions and 9 deletions

View File

@ -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