summaryrefslogtreecommitdiff
path: root/gtk/gtkicon.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkicon.c')
-rw-r--r--gtk/gtkicon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkicon.c b/gtk/gtkicon.c
index 2611230060..b6225fe0e9 100644
--- a/gtk/gtkicon.c
+++ b/gtk/gtkicon.c
@@ -87,7 +87,7 @@ gtk_icon_class_init (GtkIconClass *klass)
static void
gtk_icon_init (GtkIcon *self)
{
- gtk_widget_set_has_window (GTK_WIDGET (self), FALSE);
+ gtk_widget_set_has_surface (GTK_WIDGET (self), FALSE);
self->image = GTK_CSS_IMAGE_BUILTIN_NONE;
}