mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Fix coding style issues
This commit is contained in:
parent
39db73dff1
commit
114d0621aa
@ -68,12 +68,12 @@ G_DEFINE_BOXED_TYPE (GdkRGBA, gdk_rgba,
|
|||||||
GdkRGBA *
|
GdkRGBA *
|
||||||
gdk_rgba_new_from_string (const char *spec)
|
gdk_rgba_new_from_string (const char *spec)
|
||||||
{
|
{
|
||||||
GdkRGBA *out = g_slice_alloc(sizeof(GdkRGBA));
|
GdkRGBA *out = g_new (GdkRGBA, 1);
|
||||||
if(!out)
|
if (!out)
|
||||||
return NULL;
|
return NULL;
|
||||||
if(gdk_rgba_parse(out, spec))
|
if (gdk_rgba_parse (out, spec))
|
||||||
return out;
|
return out;
|
||||||
gdk_rgba_free(out);
|
gdk_rgba_free (out);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user