summaryrefslogtreecommitdiff
path: root/gtk/gtkiconhelper.c
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjell.ahlstedt@bredband.net>2013-07-05 15:17:24 +0200
committerMatthias Clasen <mclasen@redhat.com>2013-07-09 06:54:26 -0400
commit16c08ae135c820e2855c8b23d0deee4ed0474a5f (patch)
tree80c1b7eeddbffa2d930be42c2f7b88a69f82c048 /gtk/gtkiconhelper.c
parentfc6e725d2f3adf5905a600c8dca1c0f4df2e16db (diff)
downloadgtk+-16c08ae135c820e2855c8b23d0deee4ed0474a5f.tar.gz
Fix some inconsistent deprecations
Some functions had only a deprecation comment in the .c file, or only a deprecation annotation in the .h file. Add the missing parts. https://bugzilla.gnome.org/show_bug.cgi?id=703616
Diffstat (limited to 'gtk/gtkiconhelper.c')
-rw-r--r--gtk/gtkiconhelper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkiconhelper.c b/gtk/gtkiconhelper.c
index a516d27542..c1af789523 100644
--- a/gtk/gtkiconhelper.c
+++ b/gtk/gtkiconhelper.c
@@ -748,11 +748,13 @@ _gtk_icon_helper_ensure_surface (GtkIconHelper *self,
break;
case GTK_IMAGE_STOCK:
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
icon_set = gtk_style_context_lookup_icon_set (context, self->priv->stock_id);
if (icon_set != NULL)
ensure_surface_for_icon_set (self, context, icon_set);
else
surface = NULL;
+ G_GNUC_END_IGNORE_DEPRECATIONS;
break;
case GTK_IMAGE_ICON_SET: