[gnome-control-center] background: Move gnome-desktop-thumbnail.h includes



commit 70f8f747653e2b765a88b6f5311254f2b419d8a9
Author: Robert Ancell <robert ancell canonical com>
Date:   Wed Jan 22 11:40:06 2020 +1300

    background: Move gnome-desktop-thumbnail.h includes
    
    Remove one that wasn't needed, add in two in files that don't include it.

 panels/background/cc-background-chooser.c | 1 +
 panels/background/cc-background-preview.c | 2 ++
 panels/background/cc-background-xml.h     | 1 -
 3 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/panels/background/cc-background-chooser.c b/panels/background/cc-background-chooser.c
index fb8f337e5..4f3fd0dff 100644
--- a/panels/background/cc-background-chooser.c
+++ b/panels/background/cc-background-chooser.c
@@ -22,6 +22,7 @@
 #define G_LOG_DOMAIN "cc-background-chooser"
 
 #include <glib/gi18n.h>
+#include <libgnome-desktop/gnome-desktop-thumbnail.h>
 
 #include "bg-colors-source.h"
 #include "bg-pictures-source.h"
diff --git a/panels/background/cc-background-preview.c b/panels/background/cc-background-preview.c
index 584ccca6b..1f2e682a0 100644
--- a/panels/background/cc-background-preview.c
+++ b/panels/background/cc-background-preview.c
@@ -18,6 +18,8 @@
  * SPDX-License-Identifier: GPL-3.0-or-later
  */
 
+#include <libgnome-desktop/gnome-desktop-thumbnail.h>
+
 #include "cc-background-preview.h"
 
 struct _CcBackgroundPreview
diff --git a/panels/background/cc-background-xml.h b/panels/background/cc-background-xml.h
index 95618fbb3..3d2038ca2 100644
--- a/panels/background/cc-background-xml.h
+++ b/panels/background/cc-background-xml.h
@@ -19,7 +19,6 @@
 
 #pragma once
 
-#include <libgnome-desktop/gnome-desktop-thumbnail.h>
 #include <gtk/gtk.h>
 #include <gio/gio.h>
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]