[gtk/matthiasc/for-master: 2/14] examples: Use existing icons
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 2/14] examples: Use existing icons
- Date: Thu, 17 Jun 2021 13:00:29 +0000 (UTC)
commit 43eeff8f155c11c7c744a1142c9e434e364f2618
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jun 16 08:45:04 2021 -0400
examples: Use existing icons
The sunny icon doesn't exist anymore.
examples/sunny.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/examples/sunny.c b/examples/sunny.c
index fafc1f2a1b..c4aeba52f6 100644
--- a/examples/sunny.c
+++ b/examples/sunny.c
@@ -12,7 +12,7 @@ new_window (GApplication *app,
gtk_application_window_set_show_menubar (GTK_APPLICATION_WINDOW (window), TRUE);
gtk_window_set_default_size ((GtkWindow*)window, 640, 480);
gtk_window_set_title (GTK_WINDOW (window), "Sunny");
- gtk_window_set_icon_name (GTK_WINDOW (window), "sunny");
+ gtk_window_set_icon_name (GTK_WINDOW (window), "weather-clear-symbolic");
header = gtk_header_bar_new ();
gtk_window_set_titlebar (GTK_WINDOW (window), header);
@@ -78,7 +78,7 @@ show_about (GSimpleAction *action,
gtk_show_about_dialog (NULL,
"program-name", "Sunny",
"title", "About Sunny",
- "logo-icon-name", "sunny",
+ "logo-icon-name", "weather-clear-symbolic",
"comments", "A cheap Bloatpad clone.",
NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]