fix headers fix signals to use - instead of _

Original commit message from CVS:
fix headers
fix signals to use - instead of _
This commit is contained in:
Thomas Vander Stichele 2004-03-04 21:39:15 +00:00
parent 09711fca36
commit ecaa6a2c20
11 changed files with 61 additions and 24 deletions

View file

@ -1,3 +1,40 @@
2004-03-04 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/aalib/gstaasink.c: (gst_aasink_class_init):
* ext/cdaudio/gstcdaudio.c: (gst_cdaudio_class_init):
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_class_init):
* ext/divx/gstdivxenc.c: (gst_divxenc_class_init):
* ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_class_init):
* ext/gsm/gstgsmenc.c: (gst_gsmenc_class_init):
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_class_init):
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_class_init):
* ext/speex/gstspeexenc.c: (gst_speexenc_class_init):
* ext/xvid/gstxvidenc.c: (gst_xvidenc_class_init):
* gst-libs/gst/colorbalance/colorbalance.c:
(gst_color_balance_class_init):
* gst-libs/gst/colorbalance/colorbalancechannel.c:
(gst_color_balance_channel_class_init):
* gst-libs/gst/mixer/mixer.c: (gst_mixer_class_init):
* gst-libs/gst/play/play.c: (gst_play_class_init):
* gst-libs/gst/propertyprobe/propertyprobe.c:
(gst_property_probe_iface_init):
* gst-libs/gst/tuner/tuner.c: (gst_tuner_class_init):
* gst-libs/gst/tuner/tunerchannel.c:
(gst_tuner_channel_class_init):
* gst-libs/gst/xoverlay/xoverlay.c: (gst_x_overlay_base_init):
* gst/cutter/gstcutter.c: (gst_cutter_class_init):
* gst/effectv/gstvertigo.c: (gst_vertigotv_class_init):
* sys/cdrom/gstcdplayer.c: (cdplayer_class_init):
* sys/dxr3/dxr3spusink.c: (dxr3spusink_class_init):
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_class_init):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_class_init):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_class_init):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init):
fix signals to use - instead of _
* ext/libcaca/gstcacasink.h:
* ext/sdl/sdlvideosink.h:
fix header rename
2004-03-04 David Schleef <ds@schleef.org> 2004-03-04 David Schleef <ds@schleef.org>
* testsuite/gst-lint: Add a check for bad signal names. * testsuite/gst-lint: Add a check for bad signal names.

View file

@ -205,7 +205,7 @@ dvdnavsrc_class_init (DVDNavSrcClass *klass)
parent_class = g_type_class_ref (GST_TYPE_ELEMENT); parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
dvdnavsrc_signals[BUTTON_PRESSED_SIGNAL] = dvdnavsrc_signals[BUTTON_PRESSED_SIGNAL] =
g_signal_new ("button_pressed", g_signal_new ("button-pressed",
G_TYPE_FROM_CLASS (klass), G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (DVDNavSrcClass, button_pressed), G_STRUCT_OFFSET (DVDNavSrcClass, button_pressed),
@ -215,7 +215,7 @@ dvdnavsrc_class_init (DVDNavSrcClass *klass)
G_TYPE_INT); G_TYPE_INT);
dvdnavsrc_signals[POINTER_SELECT_SIGNAL] = dvdnavsrc_signals[POINTER_SELECT_SIGNAL] =
g_signal_new ("pointer_select", g_signal_new ("pointer-select",
G_TYPE_FROM_CLASS (klass), G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (DVDNavSrcClass, pointer_select), G_STRUCT_OFFSET (DVDNavSrcClass, pointer_select),
@ -225,7 +225,7 @@ dvdnavsrc_class_init (DVDNavSrcClass *klass)
G_TYPE_INT, G_TYPE_INT); G_TYPE_INT, G_TYPE_INT);
dvdnavsrc_signals[POINTER_ACTIVATE_SIGNAL] = dvdnavsrc_signals[POINTER_ACTIVATE_SIGNAL] =
g_signal_new ("pointer_activate", g_signal_new ("pointer-activate",
G_TYPE_FROM_CLASS (klass), G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (DVDNavSrcClass, pointer_activate), G_STRUCT_OFFSET (DVDNavSrcClass, pointer_activate),
@ -235,7 +235,7 @@ dvdnavsrc_class_init (DVDNavSrcClass *klass)
G_TYPE_INT, G_TYPE_INT); G_TYPE_INT, G_TYPE_INT);
dvdnavsrc_signals[USER_OP_SIGNAL] = dvdnavsrc_signals[USER_OP_SIGNAL] =
g_signal_new ("user_op", g_signal_new ("user-op",
G_TYPE_FROM_CLASS (klass), G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (DVDNavSrcClass, user_op), G_STRUCT_OFFSET (DVDNavSrcClass, user_op),

View file

@ -71,7 +71,7 @@ gst_color_balance_class_init (GstColorBalanceClass *klass)
if (!initialized) { if (!initialized) {
gst_color_balance_signals[VALUE_CHANGED] = gst_color_balance_signals[VALUE_CHANGED] =
g_signal_new ("value_changed", g_signal_new ("value-changed",
GST_TYPE_COLOR_BALANCE, G_SIGNAL_RUN_LAST, GST_TYPE_COLOR_BALANCE, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstColorBalanceClass, value_changed), G_STRUCT_OFFSET (GstColorBalanceClass, value_changed),
NULL, NULL, NULL, NULL,

View file

@ -74,7 +74,7 @@ gst_color_balance_channel_class_init (GstColorBalanceChannelClass *klass)
parent_class = g_type_class_ref (G_TYPE_OBJECT); parent_class = g_type_class_ref (G_TYPE_OBJECT);
signals[SIGNAL_VALUE_CHANGED] = 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_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstColorBalanceChannelClass, G_STRUCT_OFFSET (GstColorBalanceChannelClass,
value_changed), value_changed),

View file

@ -72,21 +72,21 @@ gst_mixer_class_init (GstMixerClass *klass)
if (!initialized) { if (!initialized) {
gst_mixer_signals[RECORD_TOGGLED] = gst_mixer_signals[RECORD_TOGGLED] =
g_signal_new ("record_toggled", g_signal_new ("record-toggled",
GST_TYPE_MIXER, G_SIGNAL_RUN_LAST, GST_TYPE_MIXER, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstMixerClass, record_toggled), G_STRUCT_OFFSET (GstMixerClass, record_toggled),
NULL, NULL, NULL, NULL,
gst_mixer_marshal_VOID__OBJECT_BOOLEAN, G_TYPE_NONE, 1, gst_mixer_marshal_VOID__OBJECT_BOOLEAN, G_TYPE_NONE, 1,
GST_TYPE_MIXER_TRACK, G_TYPE_BOOLEAN); GST_TYPE_MIXER_TRACK, G_TYPE_BOOLEAN);
gst_mixer_signals[MUTE_TOGGLED] = gst_mixer_signals[MUTE_TOGGLED] =
g_signal_new ("mute_toggled", g_signal_new ("mute-toggled",
GST_TYPE_MIXER, G_SIGNAL_RUN_LAST, GST_TYPE_MIXER, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstMixerClass, mute_toggled), G_STRUCT_OFFSET (GstMixerClass, mute_toggled),
NULL, NULL, NULL, NULL,
gst_mixer_marshal_VOID__OBJECT_BOOLEAN, G_TYPE_NONE, 1, gst_mixer_marshal_VOID__OBJECT_BOOLEAN, G_TYPE_NONE, 1,
GST_TYPE_MIXER_TRACK, G_TYPE_BOOLEAN); GST_TYPE_MIXER_TRACK, G_TYPE_BOOLEAN);
gst_mixer_signals[VOLUME_CHANGED] = gst_mixer_signals[VOLUME_CHANGED] =
g_signal_new ("volume_changed", g_signal_new ("volume-changed",
GST_TYPE_MIXER, G_SIGNAL_RUN_LAST, GST_TYPE_MIXER, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstMixerClass, volume_changed), G_STRUCT_OFFSET (GstMixerClass, volume_changed),
NULL, NULL, NULL, NULL,

View file

@ -559,16 +559,16 @@ gst_play_class_init (GstPlayClass *klass)
element_class->state_change = gst_play_state_change; element_class->state_change = gst_play_state_change;
gst_play_signals[TIME_TICK] = 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, G_STRUCT_OFFSET (GstPlayClass, time_tick), NULL, NULL,
gst_marshal_VOID__INT64, G_TYPE_NONE, 1, G_TYPE_INT64); gst_marshal_VOID__INT64, G_TYPE_NONE, 1, G_TYPE_INT64);
gst_play_signals[STREAM_LENGTH] = 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_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GstPlayClass, stream_length), NULL, NULL, G_STRUCT_OFFSET (GstPlayClass, stream_length), NULL, NULL,
gst_marshal_VOID__INT64, G_TYPE_NONE, 1, G_TYPE_INT64); gst_marshal_VOID__INT64, G_TYPE_NONE, 1, G_TYPE_INT64);
gst_play_signals[HAVE_VIDEO_SIZE] = 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_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GstPlayClass, have_video_size), NULL, NULL, G_STRUCT_OFFSET (GstPlayClass, have_video_size), NULL, NULL,
gst_marshal_VOID__INT_INT, G_TYPE_NONE, 2, gst_marshal_VOID__INT_INT, G_TYPE_NONE, 2,

View file

@ -70,7 +70,7 @@ gst_property_probe_iface_init (GstPropertyProbeInterface *iface)
if (!initialized) { if (!initialized) {
gst_property_probe_signals[SIGNAL_PROBE_NEEDED] = 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), G_STRUCT_OFFSET (GstPropertyProbeInterface, probe_needed),
NULL, NULL, g_cclosure_marshal_VOID__POINTER, NULL, NULL, g_cclosure_marshal_VOID__POINTER,
G_TYPE_NONE, 1, G_TYPE_POINTER); G_TYPE_NONE, 1, G_TYPE_POINTER);

View file

@ -75,28 +75,28 @@ gst_tuner_class_init (GstTunerClass *klass)
if (!initialized) { if (!initialized) {
gst_tuner_signals[NORM_CHANGED] = gst_tuner_signals[NORM_CHANGED] =
g_signal_new ("norm_changed", g_signal_new ("norm-changed",
GST_TYPE_TUNER, G_SIGNAL_RUN_LAST, GST_TYPE_TUNER, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstTunerClass, norm_changed), G_STRUCT_OFFSET (GstTunerClass, norm_changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1,
GST_TYPE_TUNER_NORM); GST_TYPE_TUNER_NORM);
gst_tuner_signals[CHANNEL_CHANGED] = gst_tuner_signals[CHANNEL_CHANGED] =
g_signal_new ("channel_changed", g_signal_new ("channel-changed",
GST_TYPE_TUNER, G_SIGNAL_RUN_LAST, GST_TYPE_TUNER, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstTunerClass, channel_changed), G_STRUCT_OFFSET (GstTunerClass, channel_changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1,
GST_TYPE_TUNER_CHANNEL); GST_TYPE_TUNER_CHANNEL);
gst_tuner_signals[FREQUENCY_CHANGED] = gst_tuner_signals[FREQUENCY_CHANGED] =
g_signal_new ("frequency_changed", g_signal_new ("frequency-changed",
GST_TYPE_TUNER, G_SIGNAL_RUN_LAST, GST_TYPE_TUNER, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstTunerClass, frequency_changed), G_STRUCT_OFFSET (GstTunerClass, frequency_changed),
NULL, NULL, NULL, NULL,
gst_tuner_marshal_VOID__OBJECT_ULONG, G_TYPE_NONE, 2, gst_tuner_marshal_VOID__OBJECT_ULONG, G_TYPE_NONE, 2,
GST_TYPE_TUNER_CHANNEL, G_TYPE_ULONG); GST_TYPE_TUNER_CHANNEL, G_TYPE_ULONG);
gst_tuner_signals[SIGNAL_CHANGED] = gst_tuner_signals[SIGNAL_CHANGED] =
g_signal_new ("signal_changed", g_signal_new ("signal-changed",
GST_TYPE_TUNER, G_SIGNAL_RUN_LAST, GST_TYPE_TUNER, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstTunerClass, signal_changed), G_STRUCT_OFFSET (GstTunerClass, signal_changed),
NULL, NULL, NULL, NULL,

View file

@ -75,14 +75,14 @@ gst_tuner_channel_class_init (GstTunerChannelClass *klass)
parent_class = g_type_class_ref (G_TYPE_OBJECT); parent_class = g_type_class_ref (G_TYPE_OBJECT);
signals[SIGNAL_FREQUENCY_CHANGED] = 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_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstTunerChannelClass, G_STRUCT_OFFSET (GstTunerChannelClass,
frequency_changed), frequency_changed),
NULL, NULL, g_cclosure_marshal_VOID__ULONG, NULL, NULL, g_cclosure_marshal_VOID__ULONG,
G_TYPE_NONE, 1, G_TYPE_ULONG); G_TYPE_NONE, 1, G_TYPE_ULONG);
signals[SIGNAL_SIGNAL_CHANGED] = 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_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstTunerChannelClass, G_STRUCT_OFFSET (GstTunerChannelClass,
signal_changed), signal_changed),

View file

@ -76,14 +76,14 @@ gst_x_overlay_base_init (gpointer g_class)
if (! initialized) if (! initialized)
{ {
gst_x_overlay_signals[HAVE_XWINDOW_ID] = 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, GST_TYPE_X_OVERLAY, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstXOverlayClass, have_xwindow_id), G_STRUCT_OFFSET (GstXOverlayClass, have_xwindow_id),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1,
G_TYPE_INT); G_TYPE_INT);
gst_x_overlay_signals[DESIRED_SIZE] = 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, GST_TYPE_X_OVERLAY, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstXOverlayClass, desired_size), G_STRUCT_OFFSET (GstXOverlayClass, desired_size),
NULL, NULL, NULL, NULL,

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: gst-plugins\n" "Project-Id-Version: gst-plugins\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2004-02-04 22:48+0100\n" "POT-Creation-Date: 2004-02-23 19:35+0100\n"
"PO-Revision-Date: 2004-02-02 23:08+0100\n" "PO-Revision-Date: 2004-02-02 23:08+0100\n"
"Last-Translator: Thomas Vander Stichele <thomas@apestaart.org>\n" "Last-Translator: Thomas Vander Stichele <thomas@apestaart.org>\n"
"Language-Team: Dutch <nl@li.org>\n" "Language-Team: Dutch <nl@li.org>\n"
@ -49,7 +49,7 @@ msgstr "Kon vfs-bestand \"%s\" niet sluiten."
msgid "No filename specified." msgid "No filename specified."
msgstr "Geen bestandsnaam gegeven." msgstr "Geen bestandsnaam gegeven."
#: ext/sndfile/gstsf.c:793 #: ext/sndfile/gstsf.c:805
#, c-format #, c-format
msgid "Could not write to file \"%s\"." msgid "Could not write to file \"%s\"."
msgstr "Kon niet schrijven naar bestand \"%s\"." msgstr "Kon niet schrijven naar bestand \"%s\"."