diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-08-22 03:05:14 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-08-22 03:05:14 +0000 |
commit | 92b22465818a783b693aa530274eb2f9b6019fec (patch) | |
tree | 88e9b26360363e59635e7376512d8d7bfafa30ad /gtk/gtkrc.h | |
parent | cae2af57d5600b94641540b757dc8e46d92557fa (diff) | |
download | gdk-pixbuf-92b22465818a783b693aa530274eb2f9b6019fec.tar.gz |
Add gtk_widget_modify_{fg,bg,text,base,font}.
Mon Aug 21 22:39:18 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.[ch]: Add gtk_widget_modify_{fg,bg,text,base,font}.
* gtk/testgtk.c (create_styles): Add a test for modifying
the style through gtk_widget_modify_*.
* gtk/gtkwidget.c (gtk_widget_get_modifier_style): Add
a function to get the current modifier style.
* gtk/gtkwidget.c (gtk_widget_modify_style): Make a copy
of the passed in GtkRcStyle instead of ref'ing it.
* gtk/gtkrc.[ch]: Add gtk_rc_style_copy().
Diffstat (limited to 'gtk/gtkrc.h')
-rw-r--r-- | gtk/gtkrc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkrc.h b/gtk/gtkrc.h index ebe1bf2c6..31ed60697 100644 --- a/gtk/gtkrc.h +++ b/gtk/gtkrc.h @@ -121,6 +121,7 @@ void gtk_rc_add_class_style (GtkRcStyle *rc_style, GType gtk_rc_style_get_type (void); GtkRcStyle* gtk_rc_style_new (void); +GtkRcStyle *gtk_rc_style_copy (GtkRcStyle *orig); void gtk_rc_style_ref (GtkRcStyle *rc_style); void gtk_rc_style_unref (GtkRcStyle *rc_style); |