summaryrefslogtreecommitdiff
path: root/gtk/gtkiconhelperprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-11-05 06:30:45 +0100
committerBenjamin Otte <otte@redhat.com>2017-11-05 06:30:45 +0100
commit0f5d807caec62a84d7d4dd37bf32013b4dfe726d (patch)
tree1f8a8164fee5513801be6082d1c0620f67ff7a4d /gtk/gtkiconhelperprivate.h
parentbc552e74d817c1031350337b014c37b5537af7cb (diff)
downloadgtk+-0f5d807caec62a84d7d4dd37bf32013b4dfe726d.tar.gz
iconhelper: Don't render to surface anymore
Just go directly to texture.
Diffstat (limited to 'gtk/gtkiconhelperprivate.h')
-rw-r--r--gtk/gtkiconhelperprivate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkiconhelperprivate.h b/gtk/gtkiconhelperprivate.h
index dbe3def51c..158b4c4edd 100644
--- a/gtk/gtkiconhelperprivate.h
+++ b/gtk/gtkiconhelperprivate.h
@@ -41,12 +41,12 @@ struct _GtkIconHelper
guint use_fallback : 1;
guint force_scale_pixbuf : 1;
- guint rendered_surface_is_symbolic : 1;
+ guint texture_is_symbolic : 1;
GtkWidget *owner;
GtkCssNode *node;
- cairo_surface_t *rendered_surface;
GdkTexture *texture;
+ int texture_scale;
};
void gtk_icon_helper_init (GtkIconHelper *self,