summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrendererpixbuf.c
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2001-11-27 00:14:42 +0000
committerJonathan Blandford <jrb@src.gnome.org>2001-11-27 00:14:42 +0000
commitb2676e9229f1cd086cff224eeaa0b4707e12470f (patch)
tree965ec993addb02a6f7c7d57edebb5003f002175b /gtk/gtkcellrendererpixbuf.c
parent6a252271fbc1d57276e35227437ffde77e6181ad (diff)
downloadgtk+-b2676e9229f1cd086cff224eeaa0b4707e12470f.tar.gz
add 2 properties (PIXBUF_EXPANDER_OPEN and PIXBUF_EXPANDER_CLOSED)
Mon Nov 26 19:11:18 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init): add 2 properties (PIXBUF_EXPANDER_OPEN and PIXBUF_EXPANDER_CLOSED)
Diffstat (limited to 'gtk/gtkcellrendererpixbuf.c')
-rw-r--r--gtk/gtkcellrendererpixbuf.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c
index 326078f43d..26bf3a1c40 100644
--- a/gtk/gtkcellrendererpixbuf.c
+++ b/gtk/gtkcellrendererpixbuf.c
@@ -106,6 +106,24 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
GDK_TYPE_PIXBUF,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
+
+ g_object_class_install_property (object_class,
+ PROP_PIXBUF_EXPANDER_OPEN,
+ g_param_spec_object ("pixbuf_expander_open",
+ _("Pixbuf Expander Open"),
+ _("Pixbuf for open expander."),
+ GDK_TYPE_PIXBUF,
+ G_PARAM_READABLE |
+ G_PARAM_WRITABLE));
+
+ g_object_class_install_property (object_class,
+ PROP_PIXBUF_EXPANDER_CLOSED,
+ g_param_spec_object ("pixbuf_expander_closed",
+ _("Pixbuf Expander Closed"),
+ _("Pixbuf for closed expander."),
+ GDK_TYPE_PIXBUF,
+ G_PARAM_READABLE |
+ G_PARAM_WRITABLE));
}
static void