summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>1999-01-12 19:40:21 +0000
committerOwen Taylor <otaylor@src.gnome.org>1999-01-12 19:40:21 +0000
commitbef538cc7e3e69d074be144cd41014538bbd5080 (patch)
tree0b15150f00fe26cbba26f49799a69550c8f97217 /gtk
parent9619e45aa781b317de71bb724ee5eb485cdf5b15 (diff)
downloadgdk-pixbuf-bef538cc7e3e69d074be144cd41014538bbd5080.tar.gz
Add back as wrapper function to restore source/binary compatibility.
Tue Jan 12 14:31:43 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkstyle.[ch] (gtk_style_apply_default_pixmap): Add back as wrapper function to restore source/binary compatibility. grrrr.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkstyle.c14
-rw-r--r--gtk/gtkstyle.h13
2 files changed, 26 insertions, 1 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 4ebc91039..28e1d3eda 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -1162,6 +1162,20 @@ gtk_style_apply_default_background (GtkStyle *style,
}
}
+void
+gtk_style_apply_default_pixmap (GtkStyle *style,
+ GdkWindow *window,
+ GtkStateType state_type,
+ GdkRectangle *area,
+ gint x,
+ gint y,
+ gint width,
+ gint height)
+{
+ gtk_style_apply_default_background (style, window, FALSE, state_type,
+ area, x, y, width, height);
+}
+
static void
gtk_default_draw_hline (GtkStyle *style,
GdkWindow *window,
diff --git a/gtk/gtkstyle.h b/gtk/gtkstyle.h
index e1a23f2d1..c52f9b6f8 100644
--- a/gtk/gtkstyle.h
+++ b/gtk/gtkstyle.h
@@ -758,7 +758,18 @@ void gtk_paint_handle (GtkStyle *style,
gint width,
gint height,
GtkOrientation orientation);
-
+
+/* Deprecated
+ */
+void gtk_style_apply_default_pixmap (GtkStyle *style,
+ GdkWindow *window,
+ GtkStateType state_type,
+ GdkRectangle *area,
+ gint x,
+ gint y,
+ gint width,
+ gint height);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */