diff options
author | Cody Russell <bratsche@src.gnome.org> | 2000-01-13 07:24:49 +0000 |
---|---|---|
committer | Cody Russell <bratsche@src.gnome.org> | 2000-01-13 07:24:49 +0000 |
commit | 7bfdf70ae137731c64249f0aecc34023dff74cf8 (patch) | |
tree | 73216079328199a076e3a041559be254f5ed530f /demos | |
parent | b09b772727d9bec5101e2327f3597385971635e7 (diff) | |
download | gtk+-7bfdf70ae137731c64249f0aecc34023dff74cf8.tar.gz |
Added gdk_pixbuf_copy_area() to gdk-pixbuf-utils.c and gdk-pixbuf.h.
Removed some unused variable warnings in gdk-pixbuf-drawable.c.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/testpixbuf-drawable.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/demos/testpixbuf-drawable.c b/demos/testpixbuf-drawable.c index 0ac321e237..3d43244ca5 100644 --- a/demos/testpixbuf-drawable.c +++ b/demos/testpixbuf-drawable.c @@ -12,7 +12,6 @@ void expose_cb(GtkWidget *drawing_area, GdkEventExpose *evt, gpointer data) { GdkPixbuf *pixbuf; - gint x1, y1, x2, y2; pixbuf = (GdkPixbuf *) gtk_object_get_data(GTK_OBJECT(drawing_area), "pixbuf"); @@ -44,10 +43,11 @@ data) pixbuf->art_pixbuf->rowstride); } } + void configure_cb(GtkWidget *drawing_area, GdkEventConfigure *evt, gpointer data) { - GdkPixbuf *pixbuf, spb; + GdkPixbuf *pixbuf; pixbuf = (GdkPixbuf *) gtk_object_get_data(GTK_OBJECT(drawing_area), "pixbuf"); @@ -67,8 +67,6 @@ int main(int argc, char **argv) GtkWidget *vbox; GtkWidget *drawing_area; GdkPixbuf *pixbuf; - gint width, height; - gint x, y; gtk_init(&argc, &argv); gdk_rgb_set_verbose(TRUE); |