diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-07-03 19:52:11 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-07-03 19:52:11 -0400 |
commit | 4eac681eba36ca48541e4b9f18d38bdf4341a8ae (patch) | |
tree | 52acd5733c1cfb85e1f13dc795b7211cfbd25b0a /gtk/gtkiconhelper.c | |
parent | d2ba7d75c3d5909f57dd778989bffaa984878990 (diff) | |
download | gtk+-4eac681eba36ca48541e4b9f18d38bdf4341a8ae.tar.gz |
Avoid deprecation warning
There was one overlooked use of GTK_STOCK_MISSING_IMAGE.
Diffstat (limited to 'gtk/gtkiconhelper.c')
-rw-r--r-- | gtk/gtkiconhelper.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkiconhelper.c b/gtk/gtkiconhelper.c index 56cb97c38c..0e38073592 100644 --- a/gtk/gtkiconhelper.c +++ b/gtk/gtkiconhelper.c @@ -636,10 +636,15 @@ ensure_stated_surface_from_info (GtkIconHelper *self, if (destination == NULL) { GtkIconSet *icon_set; + + G_GNUC_BEGIN_IGNORE_DEPRECATIONS; + icon_set = gtk_style_context_lookup_icon_set (context, GTK_STOCK_MISSING_IMAGE); destination = gtk_icon_set_render_icon_pixbuf (icon_set, context, self->priv->icon_size); + + G_GNUC_END_IGNORE_DEPRECATIONS; } else if (!symbolic) { |