diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-03-04 21:39:15 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-03-04 21:39:15 +0000 |
commit | ef255131dc7988d4ef77f76bbdf94cf44b428057 (patch) | |
tree | 8be770426404d31dec6d59f2d79fb4886503c54a /gst-libs/gst | |
parent | 924ae90cef6508823f9edf14cb54d57e9aa9932a (diff) | |
download | gst-plugins-bad-ef255131dc7988d4ef77f76bbdf94cf44b428057.tar.gz gst-plugins-bad-ef255131dc7988d4ef77f76bbdf94cf44b428057.tar.bz2 gst-plugins-bad-ef255131dc7988d4ef77f76bbdf94cf44b428057.zip |
fix headers fix signals to use - instead of _
Original commit message from CVS:
fix headers
fix signals to use - instead of _
Diffstat (limited to 'gst-libs/gst')
-rw-r--r-- | gst-libs/gst/colorbalance/colorbalance.c | 2 | ||||
-rw-r--r-- | gst-libs/gst/colorbalance/colorbalancechannel.c | 2 | ||||
-rw-r--r-- | gst-libs/gst/mixer/mixer.c | 6 | ||||
-rw-r--r-- | gst-libs/gst/play/play.c | 6 | ||||
-rw-r--r-- | gst-libs/gst/propertyprobe/propertyprobe.c | 2 | ||||
-rw-r--r-- | gst-libs/gst/tuner/tuner.c | 10 | ||||
-rw-r--r-- | gst-libs/gst/tuner/tunerchannel.c | 4 | ||||
-rw-r--r-- | gst-libs/gst/xoverlay/xoverlay.c | 4 |
8 files changed, 18 insertions, 18 deletions
diff --git a/gst-libs/gst/colorbalance/colorbalance.c b/gst-libs/gst/colorbalance/colorbalance.c index 7e8cec9b..dd32ff8b 100644 --- a/gst-libs/gst/colorbalance/colorbalance.c +++ b/gst-libs/gst/colorbalance/colorbalance.c @@ -71,7 +71,7 @@ gst_color_balance_class_init (GstColorBalanceClass *klass) if (!initialized) { gst_color_balance_signals[VALUE_CHANGED] = - g_signal_new ("value_changed", + g_signal_new ("value-changed", GST_TYPE_COLOR_BALANCE, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstColorBalanceClass, value_changed), NULL, NULL, diff --git a/gst-libs/gst/colorbalance/colorbalancechannel.c b/gst-libs/gst/colorbalance/colorbalancechannel.c index e8c6e87b..b8a4eebd 100644 --- a/gst-libs/gst/colorbalance/colorbalancechannel.c +++ b/gst-libs/gst/colorbalance/colorbalancechannel.c @@ -74,7 +74,7 @@ gst_color_balance_channel_class_init (GstColorBalanceChannelClass *klass) parent_class = g_type_class_ref (G_TYPE_OBJECT); signals[SIGNAL_VALUE_CHANGED] = - g_signal_new ("value_changed", G_TYPE_FROM_CLASS (klass), + g_signal_new ("value-changed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstColorBalanceChannelClass, value_changed), diff --git a/gst-libs/gst/mixer/mixer.c b/gst-libs/gst/mixer/mixer.c index f58bcb2c..eba9f5c7 100644 --- a/gst-libs/gst/mixer/mixer.c +++ b/gst-libs/gst/mixer/mixer.c @@ -72,21 +72,21 @@ gst_mixer_class_init (GstMixerClass *klass) if (!initialized) { gst_mixer_signals[RECORD_TOGGLED] = - g_signal_new ("record_toggled", + g_signal_new ("record-toggled", GST_TYPE_MIXER, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstMixerClass, record_toggled), NULL, NULL, gst_mixer_marshal_VOID__OBJECT_BOOLEAN, G_TYPE_NONE, 1, GST_TYPE_MIXER_TRACK, G_TYPE_BOOLEAN); gst_mixer_signals[MUTE_TOGGLED] = - g_signal_new ("mute_toggled", + g_signal_new ("mute-toggled", GST_TYPE_MIXER, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstMixerClass, mute_toggled), NULL, NULL, gst_mixer_marshal_VOID__OBJECT_BOOLEAN, G_TYPE_NONE, 1, GST_TYPE_MIXER_TRACK, G_TYPE_BOOLEAN); gst_mixer_signals[VOLUME_CHANGED] = - g_signal_new ("volume_changed", + g_signal_new ("volume-changed", GST_TYPE_MIXER, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstMixerClass, volume_changed), NULL, NULL, diff --git a/gst-libs/gst/play/play.c b/gst-libs/gst/play/play.c index e507acb7..081af994 100644 --- a/gst-libs/gst/play/play.c +++ b/gst-libs/gst/play/play.c @@ -559,16 +559,16 @@ gst_play_class_init (GstPlayClass *klass) element_class->state_change = gst_play_state_change; gst_play_signals[TIME_TICK] = - g_signal_new ("time_tick", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_FIRST, + g_signal_new ("time-tick", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GstPlayClass, time_tick), NULL, NULL, gst_marshal_VOID__INT64, G_TYPE_NONE, 1, G_TYPE_INT64); gst_play_signals[STREAM_LENGTH] = - g_signal_new ("stream_length", G_TYPE_FROM_CLASS (klass), + g_signal_new ("stream-length", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GstPlayClass, stream_length), NULL, NULL, gst_marshal_VOID__INT64, G_TYPE_NONE, 1, G_TYPE_INT64); gst_play_signals[HAVE_VIDEO_SIZE] = - g_signal_new ("have_video_size", G_TYPE_FROM_CLASS (klass), + g_signal_new ("have-video-size", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GstPlayClass, have_video_size), NULL, NULL, gst_marshal_VOID__INT_INT, G_TYPE_NONE, 2, diff --git a/gst-libs/gst/propertyprobe/propertyprobe.c b/gst-libs/gst/propertyprobe/propertyprobe.c index ea242430..85a98932 100644 --- a/gst-libs/gst/propertyprobe/propertyprobe.c +++ b/gst-libs/gst/propertyprobe/propertyprobe.c @@ -70,7 +70,7 @@ gst_property_probe_iface_init (GstPropertyProbeInterface *iface) if (!initialized) { gst_property_probe_signals[SIGNAL_PROBE_NEEDED] = - g_signal_new ("probe_needed", G_TYPE_FROM_CLASS (iface), G_SIGNAL_RUN_LAST, + g_signal_new ("probe-needed", G_TYPE_FROM_CLASS (iface), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstPropertyProbeInterface, probe_needed), NULL, NULL, g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER); diff --git a/gst-libs/gst/tuner/tuner.c b/gst-libs/gst/tuner/tuner.c index 54bab863..1181bc13 100644 --- a/gst-libs/gst/tuner/tuner.c +++ b/gst-libs/gst/tuner/tuner.c @@ -75,34 +75,34 @@ gst_tuner_class_init (GstTunerClass *klass) if (!initialized) { gst_tuner_signals[NORM_CHANGED] = - g_signal_new ("norm_changed", + g_signal_new ("norm-changed", GST_TYPE_TUNER, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstTunerClass, norm_changed), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GST_TYPE_TUNER_NORM); gst_tuner_signals[CHANNEL_CHANGED] = - g_signal_new ("channel_changed", + g_signal_new ("channel-changed", GST_TYPE_TUNER, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstTunerClass, channel_changed), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GST_TYPE_TUNER_CHANNEL); gst_tuner_signals[FREQUENCY_CHANGED] = - g_signal_new ("frequency_changed", + g_signal_new ("frequency-changed", GST_TYPE_TUNER, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstTunerClass, frequency_changed), NULL, NULL, gst_tuner_marshal_VOID__OBJECT_ULONG, G_TYPE_NONE, 2, GST_TYPE_TUNER_CHANNEL, G_TYPE_ULONG); gst_tuner_signals[SIGNAL_CHANGED] = - g_signal_new ("signal_changed", + g_signal_new ("signal-changed", GST_TYPE_TUNER, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstTunerClass, signal_changed), NULL, NULL, gst_tuner_marshal_VOID__OBJECT_INT, G_TYPE_NONE, 2, GST_TYPE_TUNER_CHANNEL, G_TYPE_INT); - + initialized = TRUE; } diff --git a/gst-libs/gst/tuner/tunerchannel.c b/gst-libs/gst/tuner/tunerchannel.c index aa98978e..ffcfcd9d 100644 --- a/gst-libs/gst/tuner/tunerchannel.c +++ b/gst-libs/gst/tuner/tunerchannel.c @@ -75,14 +75,14 @@ gst_tuner_channel_class_init (GstTunerChannelClass *klass) parent_class = g_type_class_ref (G_TYPE_OBJECT); signals[SIGNAL_FREQUENCY_CHANGED] = - g_signal_new ("frequency_changed", G_TYPE_FROM_CLASS (klass), + g_signal_new ("frequency-changed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstTunerChannelClass, frequency_changed), NULL, NULL, g_cclosure_marshal_VOID__ULONG, G_TYPE_NONE, 1, G_TYPE_ULONG); signals[SIGNAL_SIGNAL_CHANGED] = - g_signal_new ("signal_changed", G_TYPE_FROM_CLASS (klass), + g_signal_new ("signal-changed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstTunerChannelClass, signal_changed), diff --git a/gst-libs/gst/xoverlay/xoverlay.c b/gst-libs/gst/xoverlay/xoverlay.c index 73004f68..ed07c456 100644 --- a/gst-libs/gst/xoverlay/xoverlay.c +++ b/gst-libs/gst/xoverlay/xoverlay.c @@ -76,14 +76,14 @@ gst_x_overlay_base_init (gpointer g_class) if (! initialized) { gst_x_overlay_signals[HAVE_XWINDOW_ID] = - g_signal_new ("have_xwindow_id", + g_signal_new ("have-xwindow-id", GST_TYPE_X_OVERLAY, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstXOverlayClass, have_xwindow_id), NULL, NULL, g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT); gst_x_overlay_signals[DESIRED_SIZE] = - g_signal_new ("desired_size_changed", + g_signal_new ("desired-size-changed", GST_TYPE_X_OVERLAY, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstXOverlayClass, desired_size), NULL, NULL, |