diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-06-17 22:23:19 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-06-20 01:17:45 -0400 |
commit | 84bc9bba4214ac4dc05cb029b45bffbb84fa1393 (patch) | |
tree | 823c419e7a36cd1d68f69226663dc3b12b4cbc4b | |
parent | 36be12578ca252d3f48ead0d2bfaba6b09b8dd60 (diff) | |
download | gtk+-84bc9bba4214ac4dc05cb029b45bffbb84fa1393.tar.gz |
GtkIconTheme: Deprecate functionality related to .icon files
This functionality is not used at all in modern icon themes.
-rw-r--r-- | gtk/gtkicontheme.c | 8 | ||||
-rw-r--r-- | gtk/gtkicontheme.h | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 1f74e71d27..2929c5968d 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 39bdd74303..6d7fab2537 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 |