mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
tests: fix clipboard test by loading correct icon
The icon name changed from "terminal" to "utilities-terminal" in Adwaita-icon-theme. Signed-off-by: Victor Toso <victortoso@redhat.com> https://bugzilla.gnome.org/show_bug.cgi?id=773113
This commit is contained in:
parent
eaff061b48
commit
440ff48bba
@ -81,7 +81,8 @@ on_response (GtkDialog *dialog,
|
||||
GtkIconTheme *theme;
|
||||
GdkPixbuf *pixbuf;
|
||||
theme = gtk_icon_theme_get_default ();
|
||||
pixbuf = gtk_icon_theme_load_icon (theme, "terminal", 1600, 0, NULL);
|
||||
pixbuf = gtk_icon_theme_load_icon (theme, "utilities-terminal", 1600, 0, NULL);
|
||||
g_assert_nonnull (pixbuf);
|
||||
gtk_clipboard_set_image (clipboard, pixbuf);
|
||||
}
|
||||
break;
|
||||
@ -91,7 +92,8 @@ on_response (GtkDialog *dialog,
|
||||
GtkIconTheme *theme;
|
||||
GdkPixbuf *pixbuf;
|
||||
theme = gtk_icon_theme_get_default ();
|
||||
pixbuf = gtk_icon_theme_load_icon (theme, "terminal", 48, 0, NULL);
|
||||
pixbuf = gtk_icon_theme_load_icon (theme, "utilities-terminal", 48, 0, NULL);
|
||||
g_assert_nonnull (pixbuf);
|
||||
gtk_clipboard_set_image (clipboard, pixbuf);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user