[gtk+] Deprecate gtk_icon_theme_add_builtin_icon
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Deprecate gtk_icon_theme_add_builtin_icon
- Date: Fri, 20 Jun 2014 05:26:51 +0000 (UTC)
commit 923eeda2d3cae13d02b0a9d2e5774b12eed999e0
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jun 20 00:49:25 2014 -0400
Deprecate gtk_icon_theme_add_builtin_icon
gtk/gtkicontheme.c | 5 +++++
gtk/gtkicontheme.h | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index c23b300..203c167 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -3542,6 +3542,8 @@ gtk_icon_info_get_filename (GtkIconInfo *icon_info)
* The returned image must not be modified.
*
* Since: 2.4
+ *
+ * Deprecated: 3.14: This function is deprecated.
*/
GdkPixbuf *
gtk_icon_info_get_builtin_pixbuf (GtkIconInfo *icon_info)
@@ -4989,6 +4991,9 @@ gtk_icon_info_get_display_name (GtkIconInfo *icon_info)
* via gdk_pixbuf_new_from_inline().
*
* Since: 2.4
+ *
+ * Deprecated: 3.14: Use gtk_icon_theme_add_resource_path() to add
+ * application-specific icons to the icon theme.
*/
void
gtk_icon_theme_add_builtin_icon (const gchar *icon_name,
diff --git a/gtk/gtkicontheme.h b/gtk/gtkicontheme.h
index e37a52d..e697731 100644
--- a/gtk/gtkicontheme.h
+++ b/gtk/gtkicontheme.h
@@ -270,7 +270,7 @@ char * gtk_icon_theme_get_example_icon_name (GtkIconTheme
GDK_AVAILABLE_IN_ALL
gboolean gtk_icon_theme_rescan_if_needed (GtkIconTheme *icon_theme);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_14_FOR(gtk_icon_theme_add_builtin_icon)
void gtk_icon_theme_add_builtin_icon (const gchar *icon_name,
gint size,
GdkPixbuf *pixbuf);
@@ -292,7 +292,7 @@ GDK_AVAILABLE_IN_3_10
gint gtk_icon_info_get_base_scale (GtkIconInfo *icon_info);
GDK_AVAILABLE_IN_ALL
const gchar * gtk_icon_info_get_filename (GtkIconInfo *icon_info);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_14
GdkPixbuf * gtk_icon_info_get_builtin_pixbuf (GtkIconInfo *icon_info);
GDK_AVAILABLE_IN_3_12
gboolean gtk_icon_info_is_symbolic (GtkIconInfo *icon_info);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]