]> Pileus Git - ~andy/gtk/commitdiff
Add back as wrapper function to restore source/binary compatibility.
authorOwen Taylor <otaylor@redhat.com>
Tue, 12 Jan 1999 19:40:21 +0000 (19:40 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Tue, 12 Jan 1999 19:40:21 +0000 (19:40 +0000)
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.

gtk/gtkstyle.c
gtk/gtkstyle.h

index 4ebc9103979506c23c46a44f6dca08e6410fb631..28e1d3edab4bb6ef62f2d127ff2cc16067da809c 100644 (file)
@@ -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,
index e1a23f2d1e3fbcee93b6ee76cc10ba8d2d4eecdf..c52f9b6f852179f6bb0305a79cc80c2550ed7607 100644 (file)
@@ -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 */