Avoid warnings where G_LOG_DOMAIN is overriden

Undefine the value before overriding it to avoid the following warnings:
../panels/background/cc-background-chooser.c:22: warning: "G_LOG_DOMAIN" redefined
This commit is contained in:
Robert Ancell 2019-07-15 16:09:10 +12:00 committed by Georges Basile Stavracas Neto
parent e121dbcebc
commit cd377768f5
3 changed files with 3 additions and 0 deletions

View file

@ -18,6 +18,7 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "bg-recent-source"
#include "bg-recent-source.h"