examples: Fix build with GTK+ 3.0

This commit is contained in:
Sebastian Dröge 2010-10-12 11:37:40 +02:00
parent ee7207aa3e
commit 96fb89f86c
3 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@ static guint spect_bands = 256;
static gfloat height_scale = 2.0;
static void
on_window_destroy (GtkObject * object, gpointer user_data)
on_window_destroy (GObject * object, gpointer user_data)
{
drawingarea = NULL;
gtk_main_quit ();

View file

@ -41,7 +41,7 @@ static GtkWidget *drawingarea = NULL;
static GstClock *sync_clock = NULL;
static void
on_window_destroy (GtkObject * object, gpointer user_data)
on_window_destroy (GObject * object, gpointer user_data)
{
drawingarea = NULL;
gtk_main_quit ();

View file

@ -40,7 +40,7 @@ static GtkWidget *drawingarea = NULL;
static GstClock *sync_clock = NULL;
static void
on_window_destroy (GtkObject * object, gpointer user_data)
on_window_destroy (GObject * object, gpointer user_data)
{
drawingarea = NULL;
gtk_main_quit ();