Commit ef255131 authored by Thomas Vander Stichele's avatar Thomas Vander Stichele
Browse files

fix headers fix signals to use - instead of _

Original commit message from CVS:
fix headers
fix signals to use - instead of _
parent 924ae90c
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.
......
......@@ -178,7 +178,7 @@ gst_cdaudio_class_init (GstCDAudioClass * klass)
0, 255, 255, G_PARAM_READWRITE));
gst_cdaudio_signals[TRACK_CHANGE] =
g_signal_new ("track_change", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
g_signal_new ("track-change", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstCDAudioClass, track_change), NULL, NULL,
gst_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT);
......
......@@ -208,7 +208,7 @@ gst_divxenc_class_init (GstDivxEncClass *klass)
gobject_class->dispose = gst_divxenc_dispose;
gst_divxenc_signals[FRAME_ENCODED] =
g_signal_new ("frame_encoded", G_TYPE_FROM_CLASS(klass),
g_signal_new ("frame-encoded", G_TYPE_FROM_CLASS(klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstDivxEncClass, frame_encoded),
NULL, NULL,
......
......@@ -129,7 +129,7 @@ gst_gsmenc_class_init (GstGSMEnc *klass)
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
gst_gsmenc_signals[FRAME_ENCODED] =
g_signal_new ("frame_encoded", G_TYPE_FROM_CLASS(klass), G_SIGNAL_RUN_LAST,
g_signal_new ("frame-encoded", G_TYPE_FROM_CLASS(klass), G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstGSMEncClass, frame_encoded), NULL, NULL,
g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
}
......
......@@ -157,7 +157,7 @@ gst_musicbrainz_class_init (GstMusicBrainzClass *klass)
gobject_class->get_property = gst_musicbrainz_get_property;
gst_musicbrainz_signals[SIGNAL_SIGNATURE_AVAILABLE] =
g_signal_new ("signature_available", G_TYPE_FROM_CLASS(klass), G_SIGNAL_RUN_LAST,
g_signal_new ("signature-available", G_TYPE_FROM_CLASS(klass), G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstMusicBrainzClass, signature_available), NULL, NULL,
g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
......
......@@ -221,7 +221,7 @@ gst_xvidenc_class_init (GstXvidEncClass *klass)
gstelement_class->change_state = gst_xvidenc_change_state;
gst_xvidenc_signals[FRAME_ENCODED] =
g_signal_new ("frame_encoded", G_TYPE_FROM_CLASS(klass),
g_signal_new ("frame-encoded", G_TYPE_FROM_CLASS(klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstXvidEncClass, frame_encoded),
NULL, NULL,
......
......@@ -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,
......
......@@ -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\"."
......
......@@ -145,7 +145,7 @@ cdplayer_class_init (CDPlayerClass * klass)
0, G_MAXUINT, 1, G_PARAM_READABLE));
cdplayer_signals[TRACK_CHANGE] =
g_signal_new ("track_change", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
g_signal_new ("track-change", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (CDPlayerClass, track_change), NULL, NULL,
gst_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT);
......
......@@ -161,7 +161,7 @@ dxr3spusink_class_init (Dxr3SpuSinkClass *klass)
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
dxr3spusink_signals[SET_CLUT_SIGNAL] =
g_signal_new ("set_clut",
g_signal_new ("set-clut",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (Dxr3SpuSinkClass, set_clut),
......@@ -171,7 +171,7 @@ dxr3spusink_class_init (Dxr3SpuSinkClass *klass)
G_TYPE_POINTER);
dxr3spusink_signals[HIGHLIGHT_ON_SIGNAL] =
g_signal_new ("highlight_on",
g_signal_new ("highlight-on",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (Dxr3SpuSinkClass, highlight_on),
......@@ -182,7 +182,7 @@ dxr3spusink_class_init (Dxr3SpuSinkClass *klass)
G_TYPE_UINT, G_TYPE_UINT);
dxr3spusink_signals[HIGHLIGHT_OFF_SIGNAL] =
g_signal_new ("highlight_off",
g_signal_new ("highlight-off",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (Dxr3SpuSinkClass, highlight_off),
......
......@@ -211,12 +211,12 @@ gst_v4l2src_class_init (gpointer g_class, gpointer class_data)
/* signals */
gst_v4l2src_signals[SIGNAL_FRAME_CAPTURE] =
g_signal_new("frame_capture", G_TYPE_FROM_CLASS (g_class), G_SIGNAL_RUN_LAST,
g_signal_new("frame-capture", G_TYPE_FROM_CLASS (g_class), G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET(GstV4l2SrcClass, frame_capture),
NULL, NULL, g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
gst_v4l2src_signals[SIGNAL_FRAME_DROP] =
g_signal_new("frame_drop", G_TYPE_FROM_CLASS (g_class), G_SIGNAL_RUN_LAST,
g_signal_new("frame-drop", G_TYPE_FROM_CLASS (g_class), G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET(GstV4l2SrcClass, frame_drop),
NULL, NULL, g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
......@@ -226,7 +226,7 @@ gst_v4l2src_class_init (gpointer g_class, gpointer class_data)
NULL, NULL, g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
gst_v4l2src_signals[SIGNAL_FRAME_LOST] =
g_signal_new("frame_lost", G_TYPE_FROM_CLASS (g_class), G_SIGNAL_RUN_LAST,
g_signal_new("frame-lost", G_TYPE_FROM_CLASS (g_class), G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET(GstV4l2SrcClass, frame_lost),
NULL, NULL, g_cclosure_marshal_VOID__INT,
G_TYPE_NONE, 1, G_TYPE_INT);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment