diff options
author | Owen Taylor <otaylor@redhat.com> | 1999-01-15 15:54:39 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1999-01-15 15:54:39 +0000 |
commit | 40f967046464440d13ba7f12b91771a0d7d8239e (patch) | |
tree | 231ce7e60d519c4afbdcae971c8b1c8da1202360 /gtk/gtkstyle.h | |
parent | 467e0fcb24cc2ddb78b4251ff587c3269f578563 (diff) | |
download | gdk-pixbuf-40f967046464440d13ba7f12b91771a0d7d8239e.tar.gz |
Change copy_area => !set_bg. Use tile instead of gdk_window_copy_area when
Thu Jan 14 20:29:16 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.[ch] (gtk_style_apply_default_background):
Change copy_area => !set_bg. Use tile instead of
gdk_window_copy_area when drawing without !set_bg.
This does mess up timj's neat check-button example,
but is consistent with how we interpret background
pixmaps everywhere else in the default scheme.
Restructure code for clarity.
Diffstat (limited to 'gtk/gtkstyle.h')
-rw-r--r-- | gtk/gtkstyle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkstyle.h b/gtk/gtkstyle.h index c52f9b6f8..8b05a0183 100644 --- a/gtk/gtkstyle.h +++ b/gtk/gtkstyle.h @@ -344,7 +344,7 @@ void gtk_style_set_background (GtkStyle *style, GtkStateType state_type); void gtk_style_apply_default_background (GtkStyle *style, GdkWindow *window, - gboolean copy_area, + gboolean set_bg, GtkStateType state_type, GdkRectangle *area, gint x, |