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:
Matthias Clasen 2004-05-07 05:22:22 +00:00 committed by Matthias Clasen
parent 30a4c82a3d
commit 81ff50b4a0
2 changed files with 6 additions and 1 deletions

View File

@ -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>
* gtk/gtk-sections.txt: Add gtk_action_group_translate_string()

View File

@ -80,7 +80,8 @@ icon_theme = gtk_icon_theme_get_default ();
pixbuf = gtk_icon_theme_load_icon (icon_theme,
"my-icon-name", /* icon name */
48, /* size */
0, /* flags */);
0, /* flags */
&amp;error);
if (!pixbuf)
{
g_warning ("Couldn't load icon: &percnt;s", error->message);