mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
examples: Fix build with GTK+ 3.0
This commit is contained in:
parent
ee7207aa3e
commit
96fb89f86c
3 changed files with 3 additions and 3 deletions
|
@ -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 ();
|
||||
|
|
|
@ -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 ();
|
||||
|
|
|
@ -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 ();
|
||||
|
|
Loading…
Reference in a new issue