Fix example. (Steffen Röcker)
Fri May 7 01:21:14 2004 Matthias Clasen <maclas@gmx.de> * gtk/tmpl/gtkicontheme.sgml: Fix example. (Steffen Röcker)
This commit is contained in:

committed by
Matthias Clasen

parent
30a4c82a3d
commit
81ff50b4a0
@ -1,3 +1,7 @@
|
|||||||
|
Fri May 7 01:21:14 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/tmpl/gtkicontheme.sgml: Fix example. (Steffen R<>cker)
|
||||||
|
|
||||||
Thu May 6 00:22:38 2004 Matthias Clasen <maclas@gmx.de>
|
Thu May 6 00:22:38 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtk-sections.txt: Add gtk_action_group_translate_string()
|
* gtk/gtk-sections.txt: Add gtk_action_group_translate_string()
|
||||||
|
@ -80,7 +80,8 @@ icon_theme = gtk_icon_theme_get_default ();
|
|||||||
pixbuf = gtk_icon_theme_load_icon (icon_theme,
|
pixbuf = gtk_icon_theme_load_icon (icon_theme,
|
||||||
"my-icon-name", /* icon name */
|
"my-icon-name", /* icon name */
|
||||||
48, /* size */
|
48, /* size */
|
||||||
0, /* flags */);
|
0, /* flags */
|
||||||
|
&error);
|
||||||
if (!pixbuf)
|
if (!pixbuf)
|
||||||
{
|
{
|
||||||
g_warning ("Couldn't load icon: %s", error->message);
|
g_warning ("Couldn't load icon: %s", error->message);
|
||||||
|
Reference in New Issue
Block a user