diff options
Diffstat (limited to 'examples/seeking/cdplayer.c')
-rw-r--r-- | examples/seeking/cdplayer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/seeking/cdplayer.c b/examples/seeking/cdplayer.c index 21fa302d..5532e68c 100644 --- a/examples/seeking/cdplayer.c +++ b/examples/seeking/cdplayer.c @@ -60,7 +60,7 @@ static seek_format seek_formats[] = { G_GNUC_UNUSED static void -query_durations () +query_durations (void) { GList *walk = seekable_elements; @@ -89,7 +89,7 @@ query_durations () } G_GNUC_UNUSED static void -query_positions () +query_positions (void) { GList *walk = seekable_elements; @@ -267,11 +267,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 ... */ |