[gtk+] GtkIconTheme: Deprecate functionality related to .icon files



commit 84bc9bba4214ac4dc05cb029b45bffbb84fa1393
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 1f74e71..2929c59 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -4955,6 +4955,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,
@@ -5008,6 +5010,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,
@@ -5056,6 +5060,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,
@@ -5109,6 +5115,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]