mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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:
parent
09711fca36
commit
ecaa6a2c20
11 changed files with 61 additions and 24 deletions
37
ChangeLog
37
ChangeLog
|
@ -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>
|
||||
|
||||
* testsuite/gst-lint: Add a check for bad signal names.
|
||||
|
|
|
@ -205,7 +205,7 @@ dvdnavsrc_class_init (DVDNavSrcClass *klass)
|
|||
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
|
||||
|
||||
dvdnavsrc_signals[BUTTON_PRESSED_SIGNAL] =
|
||||
g_signal_new ("button_pressed",
|
||||
g_signal_new ("button-pressed",
|
||||
G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
|
||||
G_STRUCT_OFFSET (DVDNavSrcClass, button_pressed),
|
||||
|
@ -215,7 +215,7 @@ dvdnavsrc_class_init (DVDNavSrcClass *klass)
|
|||
G_TYPE_INT);
|
||||
|
||||
dvdnavsrc_signals[POINTER_SELECT_SIGNAL] =
|
||||
g_signal_new ("pointer_select",
|
||||
g_signal_new ("pointer-select",
|
||||
G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
|
||||
G_STRUCT_OFFSET (DVDNavSrcClass, pointer_select),
|
||||
|
@ -225,7 +225,7 @@ dvdnavsrc_class_init (DVDNavSrcClass *klass)
|
|||
G_TYPE_INT, G_TYPE_INT);
|
||||
|
||||
dvdnavsrc_signals[POINTER_ACTIVATE_SIGNAL] =
|
||||
g_signal_new ("pointer_activate",
|
||||
g_signal_new ("pointer-activate",
|
||||
G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
|
||||
G_STRUCT_OFFSET (DVDNavSrcClass, pointer_activate),
|
||||
|
@ -235,7 +235,7 @@ dvdnavsrc_class_init (DVDNavSrcClass *klass)
|
|||
G_TYPE_INT, G_TYPE_INT);
|
||||
|
||||
dvdnavsrc_signals[USER_OP_SIGNAL] =
|
||||
g_signal_new ("user_op",
|
||||
g_signal_new ("user-op",
|
||||
G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
|
||||
G_STRUCT_OFFSET (DVDNavSrcClass, user_op),
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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,
|
||||
|
|
4
po/nl.po
4
po/nl.po
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: gst-plugins\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"
|
||||
"Last-Translator: Thomas Vander Stichele <thomas@apestaart.org>\n"
|
||||
"Language-Team: Dutch <nl@li.org>\n"
|
||||
|
@ -49,7 +49,7 @@ msgstr "Kon vfs-bestand \"%s\" niet sluiten."
|
|||
msgid "No filename specified."
|
||||
msgstr "Geen bestandsnaam gegeven."
|
||||
|
||||
#: ext/sndfile/gstsf.c:793
|
||||
#: ext/sndfile/gstsf.c:805
|
||||
#, c-format
|
||||
msgid "Could not write to file \"%s\"."
|
||||
msgstr "Kon niet schrijven naar bestand \"%s\"."
|
||||
|
|
Loading…
Reference in a new issue