]> Pileus Git - ~andy/gtk/commit
Fix bug #319974:
authorMichael Natterer <mitch@imendio.com>
Thu, 27 Oct 2005 13:16:23 +0000 (13:16 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Thu, 27 Oct 2005 13:16:23 +0000 (13:16 +0000)
commit194e8daff9c8bddd1997beaa0b17db41de416a31
treefd5b562a6395002be78d41bd5887a4115c28aeea
parent1d2f3d38d3f4253b88ce63b810b777b5fee080e9
Fix bug #319974:

2005-10-26  Michael Natterer  <mitch@imendio.com>

Fix bug #319974:

* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
make sure that setting any of pixbuf/stock-id/icon-name resets the
others because they are mutually exclusive, and that unsetting any
of them only resets the pixbuf and nothing else. Also added
some missing g_object_notify().

(gtk_cell_renderer_pixbuf_get_property): simplified calls to
g_value_set_object().

(gtk_cell_renderer_pixbuf_create_stock_pixbuf)
(gtk_cell_renderer_pixbuf_create_named_icon_pixbuf): added
g_object_notify ("pixbuf").
ChangeLog
ChangeLog.pre-2-10
gtk/gtkcellrendererpixbuf.c