aboutdialog: The default icons are textures these days
authorBenjamin Otte <otte@redhat.com>
Tue, 13 Mar 2018 19:04:21 +0000 (20:04 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 16 Mar 2018 05:04:43 +0000 (06:04 +0100)
gtk/gtkaboutdialog.c

index e3fdb5d742dc0af8e6ee6adbbfe099fc1ad0764f..b1d4c29113b7c3a95919fc63176110ca3190073f 100644 (file)
@@ -1878,7 +1878,7 @@ gtk_about_dialog_set_logo_icon_name (GtkAboutDialog *about,
     }
   else if ((icons = gtk_window_get_default_icon_list ()))
     {
-      gtk_image_set_from_surface (GTK_IMAGE (priv->logo_image), icons->data);
+      gtk_image_set_from_texture (GTK_IMAGE (priv->logo_image), icons->data);
       g_list_free (icons);
     }
   else