diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/seeking/cdplayer.c | 10 | ||||
-rw-r--r-- | examples/seeking/playbin.c | 6 | ||||
-rw-r--r-- | examples/seeking/seek.c | 14 | ||||
-rw-r--r-- | examples/seeking/spider_seek.c | 10 |
4 files changed, 20 insertions, 20 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 ... */ diff --git a/examples/seeking/playbin.c b/examples/seeking/playbin.c index b6ff35b8..b213c5fc 100644 --- a/examples/seeking/playbin.c +++ b/examples/seeking/playbin.c @@ -225,11 +225,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 ... */ 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 ... */ diff --git a/examples/seeking/spider_seek.c b/examples/seeking/spider_seek.c index d63d3bde..c19b5de6 100644 --- a/examples/seeking/spider_seek.c +++ b/examples/seeking/spider_seek.c @@ -136,7 +136,7 @@ query_rates (void) } G_GNUC_UNUSED static void -query_durations () +query_durations (void) { GList *walk = seekable_elements; @@ -165,7 +165,7 @@ query_durations () } G_GNUC_UNUSED static void -query_positions () +query_positions (void) { GList *walk = seekable_elements; @@ -345,11 +345,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 ... */ |