Commit b4b30d5b authored by Guido Gunther's avatar Guido Gunther
Browse files

brightness: Use simpler g_clear_object


Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent 0472e0f9
......@@ -148,5 +148,5 @@ brightness_set (int brightness)
void
brightness_dispose (void)
{
g_clear_pointer (&brightness_proxy, g_object_unref);
g_clear_object (&brightness_proxy);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment