[gtk+/icontheme: 5/6] GtkIconTheme: Deprecate functionality related to .icon files



commit 2f3f3e825a886e2f280c91c4b258aa82177dd301
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jun 17 22:23:19 2014 -0400

    GtkIconTheme: Deprecate functionality related to .icon files
    
    This functionality is not used at all in modern icon themes.

 gtk/gtkicontheme.c |    8 ++++++++
 gtk/gtkicontheme.h |    8 ++++----
 2 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index a3f27d4..51f857c 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -4949,6 +4949,8 @@ gtk_icon_info_load_symbolic_for_style (GtkIconInfo   *icon_info,
  * for older API's, and is not expected to be useful for applications.
  *
  * Since: 2.4
+ *
+ * Deprecated: 3.14: Embedded rectangles and attachment points are deprecated
  **/
 void
 gtk_icon_info_set_raw_coordinates (GtkIconInfo *icon_info,
@@ -5002,6 +5004,8 @@ icon_info_scale_point (GtkIconInfo  *icon_info,
  * Returns: %TRUE if the icon has an embedded rectangle
  *
  * Since: 2.4
+ *
+ * Deprecated: 3.14: Embedded rectangles are deprecated
  **/
 gboolean
 gtk_icon_info_get_embedded_rect (GtkIconInfo  *icon_info,
@@ -5050,6 +5054,8 @@ gtk_icon_info_get_embedded_rect (GtkIconInfo  *icon_info,
  * Returns: %TRUE if there are any attach points for the icon.
  *
  * Since: 2.4
+ *
+ * Deprecated: 3.14: Attachment points are deprecated
  **/
 gboolean
 gtk_icon_info_get_attach_points (GtkIconInfo *icon_info,
@@ -5103,6 +5109,8 @@ gtk_icon_info_get_attach_points (GtkIconInfo *icon_info,
  *  is owned @icon_info and must not be modified or free.
  *
  * Since: 2.4
+ *
+ * Deprecated: 3.14: Display names are deprecated
  **/
 const gchar *
 gtk_icon_info_get_display_name (GtkIconInfo *icon_info)
diff --git a/gtk/gtkicontheme.h b/gtk/gtkicontheme.h
index 39bdd74..6d7fab2 100644
--- a/gtk/gtkicontheme.h
+++ b/gtk/gtkicontheme.h
@@ -352,18 +352,18 @@ GdkPixbuf *           gtk_icon_info_load_symbolic_for_style  (GtkIconInfo   *ico
                                                               GtkStateType   state,
                                                               gboolean      *was_symbolic,
                                                               GError       **error);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_14
 void                  gtk_icon_info_set_raw_coordinates (GtkIconInfo  *icon_info,
                                                         gboolean      raw_coordinates);
 
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_14
 gboolean              gtk_icon_info_get_embedded_rect (GtkIconInfo    *icon_info,
                                                       GdkRectangle   *rectangle);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_14
 gboolean              gtk_icon_info_get_attach_points (GtkIconInfo    *icon_info,
                                                       GdkPoint      **points,
                                                       gint           *n_points);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_14
 const gchar *         gtk_icon_info_get_display_name  (GtkIconInfo    *icon_info);
 
 G_END_DECLS


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