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:
parent
e121dbcebc
commit
cd377768f5
3 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#undef G_LOG_DOMAIN
|
||||
#define G_LOG_DOMAIN "cc-applications-panel"
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#undef G_LOG_DOMAIN
|
||||
#define G_LOG_DOMAIN "cc-background-chooser"
|
||||
|
||||
#include <glib/gi18n.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue