[gtk+] Drop GdkColor



commit 7a2537866b2e495be9397834fc9edbc829cfd52c
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Oct 28 17:08:25 2016 -0400

    Drop GdkColor
    
    It is deprecated and no longer used.

 docs/reference/gdk/gdk-docs.sgml     |    1 -
 docs/reference/gdk/gdk4-sections.txt |   18 ---
 gdk/Makefile.am                      |   10 +--
 gdk/deprecated/gdkcolor.c            |  202 ----------------------------------
 gdk/deprecated/gdkcolor.h            |   87 ---------------
 gdk/gdk.h                            |    4 -
 gdk/gdkcairo.h                       |    1 -
 gdk/gdktypes.h                       |    1 -
 8 files changed, 1 insertions(+), 323 deletions(-)
---
diff --git a/docs/reference/gdk/gdk-docs.sgml b/docs/reference/gdk/gdk-docs.sgml
index 1912571..f671c8f 100644
--- a/docs/reference/gdk/gdk-docs.sgml
+++ b/docs/reference/gdk/gdk-docs.sgml
@@ -53,7 +53,6 @@
 
   <reference>
     <title>Deprecated</title>
-    <xi:include href="xml/colors.xml" />
     <xi:include href="xml/gdkdevicemanager.xml" />
   </reference>
 
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt
index bbae1d9..d4fa3ee 100644
--- a/docs/reference/gdk/gdk4-sections.txt
+++ b/docs/reference/gdk/gdk4-sections.txt
@@ -221,24 +221,6 @@ gdk_pixbuf_get_from_surface
 </SECTION>
 
 <SECTION>
-<TITLE>Colors</TITLE>
-<FILE>colors</FILE>
-GdkColor
-gdk_color_copy
-gdk_color_free
-gdk_color_parse
-gdk_color_equal
-gdk_color_hash
-gdk_color_to_string
-
-<SUBSECTION Standard>
-GDK_TYPE_COLOR
-
-<SUBSECTION Private>
-gdk_color_get_type
-</SECTION>
-
-<SECTION>
 <TITLE>RGBA Colors</TITLE>
 <FILE>rgba_colors</FILE>
 GdkRGBA
diff --git a/gdk/Makefile.am b/gdk/Makefile.am
index a84448e..8f0ba00 100644
--- a/gdk/Makefile.am
+++ b/gdk/Makefile.am
@@ -92,12 +92,8 @@ gdk_public_h_sources =                               \
        gdkvisual.h                             \
        gdkwindow.h
 
-deprecated_h_sources =                         \
-       deprecated/gdkcolor.h
-
 gdk_h_sources =                                        \
-       $(gdk_public_h_sources)                 \
-       $(deprecated_h_sources)
+       $(gdk_public_h_sources)
 
 gdk_private_headers =                          \
        gdk-private.h                           \
@@ -124,11 +120,7 @@ gdk_private_headers =                              \
        gdkvisualprivate.h                      \
        gdkx.h
 
-deprecated_c_sources =                         \
-       deprecated/gdkcolor.c
-
 gdk_c_sources =                                \
-       $(deprecated_c_sources)                 \
        gdk-private.c                           \
        gdk.c                                   \
        gdkapplaunchcontext.c                   \
diff --git a/gdk/gdk.h b/gdk/gdk.h
index 3878f10..4a3b920 100644
--- a/gdk/gdk.h
+++ b/gdk/gdk.h
@@ -63,10 +63,6 @@
 #include <gdk/gdkvisual.h>
 #include <gdk/gdkwindow.h>
 
-#ifndef GDK_DISABLE_DEPRECATED
-#include <gdk/deprecated/gdkcolor.h>
-#endif
-
 #include <gdk/gdk-autocleanup.h>
 
 #undef __GDK_H_INSIDE__
diff --git a/gdk/gdkcairo.h b/gdk/gdkcairo.h
index ec7b5f5..1b3b961 100644
--- a/gdk/gdkcairo.h
+++ b/gdk/gdkcairo.h
@@ -23,7 +23,6 @@
 #endif
 
 #include <gdk/gdkversionmacros.h>
-#include <gdk/deprecated/gdkcolor.h>
 #include <gdk/gdkrgba.h>
 #include <gdk/gdkdrawingcontext.h>
 #include <gdk/gdkpixbuf.h>
diff --git a/gdk/gdktypes.h b/gdk/gdktypes.h
index 0dac774..a4ce12b 100644
--- a/gdk/gdktypes.h
+++ b/gdk/gdktypes.h
@@ -129,7 +129,6 @@ typedef struct _GdkAtom            *GdkAtom;
 #define GDK_NONE            _GDK_MAKE_ATOM (0)
 
 /* Forward declarations of commonly used types */
-typedef struct _GdkColor              GdkColor;
 typedef struct _GdkRGBA               GdkRGBA;
 typedef struct _GdkCursor             GdkCursor;
 typedef struct _GdkVisual             GdkVisual;


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