Fix coding style issues

This commit is contained in:
FeRD (Frank Dana) 2023-11-26 16:19:06 -05:00
parent 39db73dff1
commit 114d0621aa

View File

@ -68,7 +68,7 @@ G_DEFINE_BOXED_TYPE (GdkRGBA, gdk_rgba,
GdkRGBA *
gdk_rgba_new_from_string (const char *spec)
{
GdkRGBA *out = g_slice_alloc(sizeof(GdkRGBA));
GdkRGBA *out = g_new (GdkRGBA, 1);
if (!out)
return NULL;
if (gdk_rgba_parse (out, spec))