[gtk] Remove unused includes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] Remove unused includes
- Date: Mon, 10 Feb 2020 05:02:27 +0000 (UTC)
commit bc4637fff6d89d5890bca3230bc42447f517c1ee
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Feb 9 23:40:02 2020 -0500
Remove unused includes
We eventually want to get rid of GtkSelectionData.
As a first step, stop including gtkselection.h unnecessarily.
gtk/gtkdragsource.h | 1 -
gtk/gtkentry.c | 1 -
gtk/gtkentry.h | 1 -
gtk/gtkiconview.h | 1 -
gtk/gtksidebarrow.c | 1 -
gtk/gtktext.c | 1 -
gtk/gtkwidget.c | 1 -
7 files changed, 7 deletions(-)
---
diff --git a/gtk/gtkdragsource.h b/gtk/gtkdragsource.h
index 3ed028eac4..2083390242 100644
--- a/gtk/gtkdragsource.h
+++ b/gtk/gtkdragsource.h
@@ -31,7 +31,6 @@
#error "Only <gtk/gtk.h> can be included directly."
#endif
-#include <gtk/gtkselection.h>
#include <gtk/gtkwidget.h>
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 001c434880..21f7cfe16e 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -53,7 +53,6 @@
#include "gtkpopover.h"
#include "gtkprivate.h"
#include "gtkprogressbar.h"
-#include "gtkselection.h"
#include "gtksettings.h"
#include "gtksnapshot.h"
#include "gtkstylecontextprivate.h"
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h
index 66571c4cc1..a16331f300 100644
--- a/gtk/gtkentry.h
+++ b/gtk/gtkentry.h
@@ -39,7 +39,6 @@
#include <gtk/gtkentrybuffer.h>
#include <gtk/gtkentrycompletion.h>
#include <gtk/gtkimage.h>
-#include <gtk/gtkselection.h>
G_BEGIN_DECLS
diff --git a/gtk/gtkiconview.h b/gtk/gtkiconview.h
index 5334f72e97..ffde51b90a 100644
--- a/gtk/gtkiconview.h
+++ b/gtk/gtkiconview.h
@@ -26,7 +26,6 @@
#include <gtk/gtktreemodel.h>
#include <gtk/gtkcellrenderer.h>
#include <gtk/gtkcellarea.h>
-#include <gtk/gtkselection.h>
#include <gtk/gtktooltip.h>
#include <gtk/gtkdragsource.h>
#include <gtk/gtkdragdest.h>
diff --git a/gtk/gtksidebarrow.c b/gtk/gtksidebarrow.c
index b914553240..8e1f5aa392 100644
--- a/gtk/gtksidebarrow.c
+++ b/gtk/gtksidebarrow.c
@@ -26,7 +26,6 @@
#include "gtklabel.h"
#include "gtkstylecontext.h"
#include "gtkrevealer.h"
-#include "gtkselection.h"
#include "gtkintl.h"
#include "gtkspinner.h"
diff --git a/gtk/gtktext.c b/gtk/gtktext.c
index 02000b9660..b671c9a39f 100644
--- a/gtk/gtktext.c
+++ b/gtk/gtktext.c
@@ -50,7 +50,6 @@
#include "gtkpango.h"
#include "gtkpopovermenu.h"
#include "gtkprivate.h"
-#include "gtkselection.h"
#include "gtksettings.h"
#include "gtksnapshot.h"
#include "gtkstylecontextprivate.h"
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 447d39a16f..5bbc5f7fc6 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -57,7 +57,6 @@
#include "gtkrootprivate.h"
#include "gtknativeprivate.h"
#include "gtkscrollable.h"
-#include "gtkselection.h"
#include "gtksettingsprivate.h"
#include "gtksizegroup-private.h"
#include "gtksnapshotprivate.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]