diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-09-09 22:40:44 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2009-09-10 13:53:28 -0400 |
commit | be22a6216094814b00243a3da93fe177814a4e9b (patch) | |
tree | 2c967afbee00f3ae22d3ee3b4eafbaae36659761 /demos/gtk-demo/offscreen_window2.c | |
parent | 7124f5927ae96d13ea74268b73c62293b0243ddd (diff) | |
download | gtk+-be22a6216094814b00243a3da93fe177814a4e9b.tar.gz |
Cleanups
This commit removes dead code, mostly pointed out by clang.
Diffstat (limited to 'demos/gtk-demo/offscreen_window2.c')
-rw-r--r-- | demos/gtk-demo/offscreen_window2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/demos/gtk-demo/offscreen_window2.c b/demos/gtk-demo/offscreen_window2.c index d7e3c9524d..19ca760bda 100644 --- a/demos/gtk-demo/offscreen_window2.c +++ b/demos/gtk-demo/offscreen_window2.c @@ -374,7 +374,6 @@ gtk_mirror_bin_expose (GtkWidget *widget, if (event->window == widget->window) { GdkPixmap *pixmap; - GtkAllocation child_area; cairo_t *cr; cairo_matrix_t matrix; cairo_pattern_t *mask; @@ -383,7 +382,6 @@ gtk_mirror_bin_expose (GtkWidget *widget, { pixmap = gdk_offscreen_window_get_pixmap (bin->offscreen_window); gdk_drawable_get_size (pixmap, &width, &height); - child_area = bin->child->allocation; cr = gdk_cairo_create (widget->window); |