summaryrefslogtreecommitdiffstats
path: root/examples/seeking/seek.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/seeking/seek.c')
-rw-r--r--examples/seeking/seek.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/seeking/seek.c b/examples/seeking/seek.c
index fdd7c45d..d4a269fb 100644
--- a/examples/seeking/seek.c
+++ b/examples/seeking/seek.c
@@ -663,7 +663,7 @@ query_rates (void)
}
G_GNUC_UNUSED static void
-query_durations_elems ()
+query_durations_elems (void)
{
GList *walk = seekable_elements;
@@ -693,7 +693,7 @@ query_durations_elems ()
}
G_GNUC_UNUSED static void
-query_durations_pads ()
+query_durations_pads (void)
{
GList *walk = seekable_pads;
@@ -723,7 +723,7 @@ query_durations_pads ()
}
G_GNUC_UNUSED static void
-query_positions_elems ()
+query_positions_elems (void)
{
GList *walk = seekable_elements;
@@ -753,7 +753,7 @@ query_positions_elems ()
}
G_GNUC_UNUSED static void
-query_positions_pads ()
+query_positions_pads (void)
{
GList *walk = seekable_pads;
@@ -1035,11 +1035,11 @@ main (int argc, char **argv)
gtk_scale_set_digits (GTK_SCALE (hscale), 2);
gtk_range_set_update_policy (GTK_RANGE (hscale), GTK_UPDATE_CONTINUOUS);
- gtk_signal_connect (GTK_OBJECT (hscale),
+ g_signal_connect (hscale,
"button_press_event", G_CALLBACK (start_seek), pipeline);
- gtk_signal_connect (GTK_OBJECT (hscale),
+ g_signal_connect (hscale,
"button_release_event", G_CALLBACK (stop_seek), pipeline);
- gtk_signal_connect (GTK_OBJECT (hscale),
+ g_signal_connect (hscale,
"format_value", G_CALLBACK (format_value), pipeline);
/* do the packing stuff ... */