Don't use deprecated functions in examples. (#319524, Vincent Untz)

2005-10-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkfilechooser.sgml: Don't use deprecated functions
	in examples.  (#319524, Vincent Untz)

	* gtk/gtk-update-icon-cache.xml: Fix a typo.  (#319524, Vincent Untz)
This commit is contained in:
Matthias Clasen 2005-10-25 18:00:49 +00:00 committed by Matthias Clasen
parent d77bc26a82
commit 225e5cb472
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2005-10-25 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkfilechooser.sgml: Don't use deprecated functions
in examples. (#319524, Vincent Untz)
* gtk/gtk-update-icon-cache.xml: Fix a typo. (#319524, Vincent Untz)
2005-10-06 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add gtk_text_buffer_get_has_selection().

View File

@ -26,7 +26,7 @@
icon themes.
</para>
<para>
If expects to be given the path to a icon theme directory containing an
It expects to be given the path to a icon theme directory containing an
<filename>index.theme</filename>, e.g. <filename>/usr/share/icons/hicolor</filename>,
and writes a <filename>icon-theme.cache</filename> containing cached information
about the icons in the directory tree below the given directory.

View File

@ -132,7 +132,7 @@ update_preview_cb (GtkFileChooser *file_chooser, gpointer data)
gtk_image_set_from_pixbuf (GTK_IMAGE (preview), pixbuf);
if (pixbuf)
gdk_pixbuf_unref (pixbuf);
gobject_unref (pixbuf);
gtk_file_chooser_set_preview_widget_active (file_chooser, have_preview);
}