diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-06-27 10:41:16 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-06-27 10:41:16 +0200 |
commit | a189cef9c87734b7238152c02f662fef27ff74fd (patch) | |
tree | 77a6687353748b8334597d009d9e6ab75c099270 /tests/icles | |
parent | 4b22f8c136c07708074506ac5022d7fd1a15fd34 (diff) | |
download | gstreamer-plugins-bad-a189cef9c87734b7238152c02f662fef27ff74fd.tar.gz |
tests: Fix build with GTK+ < 2.17.7
gtk_widget_get_allocation() was added in that version.
Diffstat (limited to 'tests/icles')
-rw-r--r-- | tests/icles/metadata_editor.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/icles/metadata_editor.c b/tests/icles/metadata_editor.c index d17d50629..8dae82ec5 100644 --- a/tests/icles/metadata_editor.c +++ b/tests/icles/metadata_editor.c @@ -54,6 +54,14 @@ #include <gst/gst.h> +#if !GTK_CHECK_VERSION (2, 17, 7) +static void +gtk_widget_get_allocation (GtkWidget * w, GtkAllocation * a) +{ + *a = w->allocation; +} +#endif + /* * Global constants */ |