From bc8ceebef7530b767e9e454f3c5cd6e1749675bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Mon, 25 Oct 2021 16:49:23 +0200 Subject: Add clang-format configuration, clean up --- liblogdiag/ld-lua.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'liblogdiag/ld-lua.c') diff --git a/liblogdiag/ld-lua.c b/liblogdiag/ld-lua.c index c9c7e0c..32c641b 100644 --- a/liblogdiag/ld-lua.c +++ b/liblogdiag/ld-lua.c @@ -187,8 +187,7 @@ ld_lua_init (LdLua *self) lua_State *L; LdLuaData *ud; - self->priv = G_TYPE_INSTANCE_GET_PRIVATE - (self, LD_TYPE_LUA, LdLuaPrivate); + self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, LD_TYPE_LUA, LdLuaPrivate); L = self->priv->L = lua_newstate (ld_lua_alloc, NULL); g_return_if_fail (L != NULL); @@ -465,8 +464,7 @@ ld_lua_logdiag_register (lua_State *L) lua_insert (L, -2); lua_concat (L, 2); - g_warning ("Lua symbol registration failed: %s", - lua_tostring (L, -1)); + g_warning ("Lua symbol registration failed: %s", lua_tostring (L, -1)); lua_pushboolean (L, FALSE); } else @@ -861,4 +859,3 @@ LD_LUA_CAIRO_BEGIN (show_text) g_object_unref (layout); LD_LUA_CAIRO_END (0) - -- cgit v1.2.3