summaryrefslogtreecommitdiff
path: root/gdk/gdkinternals.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-10-02 22:30:37 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-10-02 22:30:37 +0000
commit6cb79658c2a64d01f6e488f065eb2d265be97414 (patch)
treee22737293757c5de6c32d8d4a440923fce99b9c3 /gdk/gdkinternals.h
parented521b3cfd21763c8e049148dc004c24d0785ad6 (diff)
downloadgtk+-6cb79658c2a64d01f6e488f065eb2d265be97414.tar.gz
Export _gdk_draw_pixbuf as gdk_draw_pixbuf(), rename the _draw_pixbuf
Wed Oct 2 17:46:53 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c gdk/gdkwindow.c gdk/gdkdrawable.c: Export _gdk_draw_pixbuf as gdk_draw_pixbuf(), rename the _draw_pixbuf virtual function to draw_pixbuf. (#60582) * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable[_alpha]): Note that these functions are obsolete in the docs. * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): Remove all the sanity checks now we make it clear that it is obsolete name for gdk_draw_pixbuf(). * gdk/gdkpixmap.c gtk/gtkcellrendererpixbuf.c gtk/gtkimage.c gtk/gtkpixmap.c demos/testpixbuf-scale.c demos/testpixbuf.c tests/testrgb.c: Use gdk_draw_pixbuf() everywhere. * gtk/gtklabel.c (gtk_label_set_mnemonic_widget): Fix some warnings. * gdk/gdkinternals.h (struct _GdkEventPrivate): Fix missed bit from last gdk_event_get_screen() change. * gdk/gdkevents.c: Couple of small fixes.i
Diffstat (limited to 'gdk/gdkinternals.h')
-rw-r--r--gdk/gdkinternals.h19
1 files changed, 3 insertions, 16 deletions
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index d322e10348..a0255ca07d 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -155,8 +155,9 @@ typedef enum
struct _GdkEventPrivate
{
- GdkEvent event;
- guint flags;
+ GdkEvent event;
+ guint flags;
+ GdkScreen *screen;
};
extern GdkEventFunc _gdk_event_func; /* Callback for events */
@@ -202,20 +203,6 @@ GdkImage *_gdk_image_get_scratch (GdkScreen *screen,
gint *x,
gint *y);
-/* Will most likely be exported in the future
- */
-void _gdk_draw_pixbuf (GdkDrawable *drawable,
- GdkGC *gc,
- GdkPixbuf *pixbuf,
- gint src_x,
- gint src_y,
- gint dest_x,
- gint dest_y,
- gint width,
- gint height,
- GdkRgbDither dither,
- gint x_dither,
- gint y_dither);
GdkImage *_gdk_drawable_copy_to_image (GdkDrawable *drawable,
GdkImage *image,
gint src_x,