Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gtk
Commits
a5f97543
Commit
a5f97543
authored
Sep 14, 2001
by
Matthias Clasen
Browse files
demos/gtk-demo/main.c (setup_default_icon): Use a shaped
icon instead of one with ugly white background.
parent
33bb0beb
Changes
8
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
a5f97543
Fri Sep 14 22:31:25 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/main.c (setup_default_icon): Use a shaped
icon instead of one with ugly white background.
Fri Sep 14 22:26:01 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/stock_browser.c (id_to_macro): make
...
...
ChangeLog.pre-2-0
View file @
a5f97543
Fri Sep 14 22:31:25 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/main.c (setup_default_icon): Use a shaped
icon instead of one with ugly white background.
Fri Sep 14 22:26:01 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/stock_browser.c (id_to_macro): make
...
...
ChangeLog.pre-2-10
View file @
a5f97543
Fri Sep 14 22:31:25 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/main.c (setup_default_icon): Use a shaped
icon instead of one with ugly white background.
Fri Sep 14 22:26:01 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/stock_browser.c (id_to_macro): make
...
...
ChangeLog.pre-2-2
View file @
a5f97543
Fri Sep 14 22:31:25 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/main.c (setup_default_icon): Use a shaped
icon instead of one with ugly white background.
Fri Sep 14 22:26:01 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/stock_browser.c (id_to_macro): make
...
...
ChangeLog.pre-2-4
View file @
a5f97543
Fri Sep 14 22:31:25 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/main.c (setup_default_icon): Use a shaped
icon instead of one with ugly white background.
Fri Sep 14 22:26:01 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/stock_browser.c (id_to_macro): make
...
...
ChangeLog.pre-2-6
View file @
a5f97543
Fri Sep 14 22:31:25 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/main.c (setup_default_icon): Use a shaped
icon instead of one with ugly white background.
Fri Sep 14 22:26:01 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/stock_browser.c (id_to_macro): make
...
...
ChangeLog.pre-2-8
View file @
a5f97543
Fri Sep 14 22:31:25 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/main.c (setup_default_icon): Use a shaped
icon instead of one with ugly white background.
Fri Sep 14 22:26:01 2001 Matthias Clasen <matthiasc@poet.de>
* demos/gtk-demo/stock_browser.c (id_to_macro): make
...
...
demos/gtk-demo/main.c
View file @
a5f97543
...
...
@@ -765,12 +765,17 @@ setup_default_icon (void)
if
(
pixbuf
)
{
GList
*
list
;
GdkPixbuf
*
transparent
;
/* The gtk-logo-rgb icon has a white background, make it transparent */
transparent
=
gdk_pixbuf_add_alpha
(
pixbuf
,
TRUE
,
0xff
,
0xff
,
0xff
);
list
=
NULL
;
list
=
g_list_append
(
list
,
pixbuf
);
list
=
g_list_append
(
list
,
transparent
);
gtk_window_set_default_icon_list
(
list
);
g_list_free
(
list
);
g_object_unref
(
G_OBJECT
(
pixbuf
));
g_object_unref
(
G_OBJECT
(
transparent
));
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment