GTK+ api change
- From: "Matthias Clasen" <matthias clasen gmail com>
- To: "Gnome Release Team" <release-team gnome org>
- Subject: GTK+ api change
- Date: Sun, 18 Jan 2009 13:33:57 -0500
Murray complained that the new icon-related api in GtkEntry is not
very consistent,
and he was right. So I took the chance to fix this before its too
late. The change
looks worse than it it, I think, since it only affects property names
and getters.
All examples involving entry icons in GTK+ kept working, eg.
2009-01-18 Matthias Clasen <mclasen redhat com>
Bug 567887 – gtk_entry_get_storage_type() should be
gtk_entry_get_icon_storage_type()
* gtk/gtk.symbols:
* gtk/gtkentry.[hc]: Use the last chance to get the api right,
and rename things for consistency, requested by Murray Cumming.
In detail,
gtk_entry_get_stock -> gtk_entry_get_icon_stock
gtk_entry_get_pixbuf -> gtk_entry_get_icon_pixbuf
gtk_entry_get_gicon -> gtk_entry_get_icon_gicon
gtk_entry_get_storage_type -> gtk_entry_get_icon_storage_type
::prelight -> ::icon-prelight
::pixbuf-primary -> ::primary-icon-pixbuf
::stock-primary -> ::primary-icon-stock
::icon-name-primary -> ::primary-icon-name
::gicon-primary-> ::primary-icon-gicon
::storage-type-primary -> ::primary-icon-storage-type
::activatable->primary -> ::primary-icon-activatable
::sensitive-primary -> ::primary-icon-sensitive
(and similar for secondary properties)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]