[gtk/wip/otte/dnd: 5/6] selection: Remove GtkSelectionData



commit d177b72db2fdf2ad4ce4aa46839b0900c2a02c47
Author: Benjamin Otte <otte redhat com>
Date:   Sat Feb 22 18:18:00 2020 +0100

    selection: Remove GtkSelectionData

 docs/reference/gtk/gtk4-docs.xml     |    1 -
 docs/reference/gtk/gtk4-sections.txt |   35 -
 docs/reference/gtk/meson.build       |    1 -
 gtk/gtk-autocleanups.h               |    1 -
 gtk/gtk.h                            |    1 -
 gtk/gtknotebook.c                    |    1 -
 gtk/gtkplacessidebar.c               |    2 -
 gtk/gtkquartz.c                      |    1 -
 gtk/gtkselection.c                   | 1204 ----------------------------------
 gtk/gtkselection.h                   |  118 ----
 gtk/gtkselectionprivate.h            |   51 --
 gtk/gtktreeview.c                    |    1 -
 gtk/gtktypes.h                       |    1 -
 gtk/meson.build                      |    2 -
 14 files changed, 1420 deletions(-)
---
diff --git a/docs/reference/gtk/gtk4-docs.xml b/docs/reference/gtk/gtk4-docs.xml
index 1f6eddd057..732173b671 100644
--- a/docs/reference/gtk/gtk4-docs.xml
+++ b/docs/reference/gtk/gtk4-docs.xml
@@ -356,7 +356,6 @@
     <xi:include href="xml/gtksettings.xml" />
     <xi:include href="xml/gtkbindings.xml" />
     <xi:include href="xml/gtkenums.xml" />
-    <xi:include href="xml/gtkselection.xml" />
     <xi:include href="xml/gtktesting.xml" />
     <xi:include href="xml/filesystem.xml" />
   </part>
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index 1510a015e3..548c4921d1 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -4672,41 +4672,6 @@ gtk_css_provider_error_quark
 gtk_css_section_get_type
 </SECTION>
 
-<SECTION>
-<FILE>gtkselection</FILE>
-<TITLE>Selections</TITLE>
-GtkSelectionData
-gtk_selection_data_set
-gtk_selection_data_set_text
-gtk_selection_data_get_text
-gtk_selection_data_set_pixbuf
-gtk_selection_data_get_pixbuf
-gtk_selection_data_set_texture
-gtk_selection_data_get_texture
-gtk_selection_data_set_uris
-gtk_selection_data_get_uris
-gtk_selection_data_get_targets
-gtk_selection_data_targets_include_image
-gtk_selection_data_targets_include_text
-gtk_selection_data_targets_include_uri
-gtk_selection_data_get_data
-gtk_selection_data_get_length
-gtk_selection_data_get_data_with_length
-gtk_selection_data_get_data_type
-gtk_selection_data_get_display
-gtk_selection_data_get_format
-gtk_selection_data_get_target
-gtk_targets_include_image
-gtk_targets_include_text
-gtk_targets_include_uri
-gtk_selection_data_copy
-gtk_selection_data_free
-<SUBSECTION Standard>
-GTK_TYPE_SELECTION_DATA
-<SUBSECTION Private>
-gtk_selection_data_get_type
-</SECTION>
-
 <SECTION>
 <FILE>gtkbindings</FILE>
 <TITLE>Bindings</TITLE>
diff --git a/docs/reference/gtk/meson.build b/docs/reference/gtk/meson.build
index 0f01d83117..5e0361046c 100644
--- a/docs/reference/gtk/meson.build
+++ b/docs/reference/gtk/meson.build
@@ -158,7 +158,6 @@ private_headers = [
   'gtkroundedboxprivate.h',
   'gtkscalerprivate.h',
   'gtksearchentryprivate.h',
-  'gtkselectionprivate.h',
   'gtksettingsprivate.h',
   'gtkshortcutsshortcutprivate.h',
   'gtkshortcutswindowprivate.h',
diff --git a/gtk/gtk-autocleanups.h b/gtk/gtk-autocleanups.h
index bc8671893f..59474fc967 100644
--- a/gtk/gtk-autocleanups.h
+++ b/gtk/gtk-autocleanups.h
@@ -165,7 +165,6 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkVolumeButton, g_object_unref)
 
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPaperSize, gtk_paper_size_free)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentInfo, gtk_recent_info_unref)
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSelectionData, gtk_selection_data_free)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextIter, gtk_text_iter_free)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeIter, gtk_tree_iter_free)
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreePath, gtk_tree_path_free)
diff --git a/gtk/gtk.h b/gtk/gtk.h
index 5322b95984..8ee2ba1b0b 100644
--- a/gtk/gtk.h
+++ b/gtk/gtk.h
@@ -194,7 +194,6 @@
 #include <gtk/gtkscrolledwindow.h>
 #include <gtk/gtksearchbar.h>
 #include <gtk/gtksearchentry.h>
-#include <gtk/gtkselection.h>
 #include <gtk/gtkselectionmodel.h>
 #include <gtk/gtkseparator.h>
 #include <gtk/gtksettings.h>
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 4ed5f5d3fd..4d89d6766e 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -54,7 +54,6 @@
 #include "gtkwidgetprivate.h"
 #include "gtkdragsource.h"
 #include "gtkwidgetpaintable.h"
-#include "gtkselectionprivate.h"
 #include "gtknative.h"
 
 #include "a11y/gtknotebookaccessible.h"
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index 7961772854..eaf8fc8e2e 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -50,7 +50,6 @@
 #include "gtklabel.h"
 #include "gtkbutton.h"
 #include "gtklistbox.h"
-#include "gtkselection.h"
 #include "gtkdragdest.h"
 #include "gtkseparator.h"
 #include "gtkentry.h"
@@ -65,7 +64,6 @@
 #include "gtkdragsource.h"
 #include "gtkdragicon.h"
 #include "gtkwidgetpaintable.h"
-#include "gtkselectionprivate.h"
 #include "gtkstylecontext.h"
 
 /*< private >
diff --git a/gtk/gtkquartz.c b/gtk/gtkquartz.c
index 301b3f94d2..dfe3cc1ab7 100644
--- a/gtk/gtkquartz.c
+++ b/gtk/gtkquartz.c
@@ -19,7 +19,6 @@
 #include "config.h"
 
 #include "gtkquartz.h"
-#include "gtkselectionprivate.h"
 #include <gdk/quartz/gdkquartz.h>
 
 
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index b1537eeea0..9790d91bcd 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -65,7 +65,6 @@
 #include "gtkwindowgroup.h"
 #include "gtknative.h"
 #include "gtkpopover.h"
-#include "gtkselectionprivate.h"
 
 #include "a11y/gtktreeviewaccessibleprivate.h"
 
diff --git a/gtk/gtktypes.h b/gtk/gtktypes.h
index 777a120746..a5ad190720 100644
--- a/gtk/gtktypes.h
+++ b/gtk/gtktypes.h
@@ -44,7 +44,6 @@ typedef struct _GtkLayoutManager       GtkLayoutManager;
 typedef struct _GtkNative              GtkNative;
 typedef struct _GtkRequisition        GtkRequisition;
 typedef struct _GtkRoot               GtkRoot;
-typedef struct _GtkSelectionData       GtkSelectionData;
 typedef struct _GtkSettings            GtkSettings;
 typedef GdkSnapshot                    GtkSnapshot;
 typedef struct _GtkStyleContext        GtkStyleContext;
diff --git a/gtk/meson.build b/gtk/meson.build
index 6851816f2c..ca72c02101 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -326,7 +326,6 @@ gtk_public_sources = files([
   'gtkscrolledwindow.c',
   'gtksearchbar.c',
   'gtksearchentry.c',
-  'gtkselection.c',
   'gtkselectionmodel.c',
   'gtkseparator.c',
   'gtksettings.c',
@@ -562,7 +561,6 @@ gtk_public_headers = files([
   'gtkscrolledwindow.h',
   'gtksearchbar.h',
   'gtksearchentry.h',
-  'gtkselection.h',
   'gtkselectionmodel.h',
   'gtkseparator.h',
   'gtksettings.h',


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