commit | cd0d2db8d4a8863bb48eca8bb197bd73d2f6c9a4 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Mon Mar 26 19:30:24 2012 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Mar 26 19:30:24 2012 +0200 |
tree | e158f609aeacc9c01a43c00f706f2d3b2c9f939c | |
parent | bb3d3c4d6cdb52f13353d0019b34de59596e5091 [diff] [blame] |
gcompat: get closer to working with gtk3 Just need the draw event now, instead of the expose_event. Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/gcompat.h b/gcompat.h index 9f6f1f6..66fb781 100644 --- a/gcompat.h +++ b/gcompat.h
@@ -24,4 +24,9 @@ } #endif +#if GTK_MAJOR_VERSION < 3 +guint gtk_widget_get_allocated_width(GtkWidget *w); +guint gtk_widget_get_allocated_height(GtkWidget *w); +#endif + #endif