From 818368ffcf3e586664921fafb2f3e14df87afbb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 11 Jan 2011 16:35:05 +0100 Subject: [PATCH] ges: Mark some private symbols static https://bugzilla.gnome.org/show_bug.cgi?id=639218 --- ges/ges-timeline.c | 4 ++-- ges/ges-track-object.c | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ges/ges-timeline.c b/ges/ges-timeline.c index c49d513d0a..a5581d889a 100644 --- a/ges/ges-timeline.c +++ b/ges/ges-timeline.c @@ -82,7 +82,7 @@ static GstBinClass *parent_class; static guint ges_timeline_signals[LAST_SIGNAL] = { 0 }; -gint custom_find_track (TrackPrivate * tr_priv, GESTrack * track); +static gint custom_find_track (TrackPrivate * tr_priv, GESTrack * track); static GstStateChangeReturn ges_timeline_change_state (GstElement * element, GstStateChange transition); static void @@ -769,7 +769,7 @@ pad_removed_cb (GESTrack * track, GstPad * pad, TrackPrivate * tr_priv) tr_priv->pad = NULL; } -gint +static gint custom_find_track (TrackPrivate * tr_priv, GESTrack * track) { if (tr_priv->track == track) diff --git a/ges/ges-track-object.c b/ges/ges-track-object.c index e911b771dd..d474eaaaf6 100644 --- a/ges/ges-track-object.c +++ b/ges/ges-track-object.c @@ -74,19 +74,19 @@ static GParamSpec *properties[PROP_LAST]; static GstElement *ges_track_object_create_gnl_object_func (GESTrackObject * object); -void gnlobject_start_cb (GstElement * gnlobject, GParamSpec * arg +static void gnlobject_start_cb (GstElement * gnlobject, GParamSpec * arg G_GNUC_UNUSED, GESTrackObject * obj); -void gnlobject_media_start_cb (GstElement * gnlobject, GParamSpec * arg +static void gnlobject_media_start_cb (GstElement * gnlobject, GParamSpec * arg G_GNUC_UNUSED, GESTrackObject * obj); -void gnlobject_priority_cb (GstElement * gnlobject, GParamSpec * arg +static void gnlobject_priority_cb (GstElement * gnlobject, GParamSpec * arg G_GNUC_UNUSED, GESTrackObject * obj); -void gnlobject_duration_cb (GstElement * gnlobject, GParamSpec * arg +static void gnlobject_duration_cb (GstElement * gnlobject, GParamSpec * arg G_GNUC_UNUSED, GESTrackObject * obj); -void gnlobject_active_cb (GstElement * gnlobject, GParamSpec * arg +static void gnlobject_active_cb (GstElement * gnlobject, GParamSpec * arg G_GNUC_UNUSED, GESTrackObject * obj); static inline gboolean @@ -436,7 +436,7 @@ ges_track_object_set_active (GESTrackObject * object, gboolean active) } /* Callbacks from the GNonLin object */ -void +static void gnlobject_start_cb (GstElement * gnlobject, GParamSpec * arg G_GNUC_UNUSED, GESTrackObject * obj) { @@ -458,7 +458,7 @@ gnlobject_start_cb (GstElement * gnlobject, GParamSpec * arg G_GNUC_UNUSED, } /* Callbacks from the GNonLin object */ -void +static void gnlobject_media_start_cb (GstElement * gnlobject, GParamSpec * arg G_GNUC_UNUSED, GESTrackObject * obj) { @@ -479,7 +479,7 @@ gnlobject_media_start_cb (GstElement * gnlobject, } } -void +static void gnlobject_priority_cb (GstElement * gnlobject, GParamSpec * arg G_GNUC_UNUSED, GESTrackObject * obj) { @@ -499,7 +499,7 @@ gnlobject_priority_cb (GstElement * gnlobject, GParamSpec * arg G_GNUC_UNUSED, } } -void +static void gnlobject_duration_cb (GstElement * gnlobject, GParamSpec * arg G_GNUC_UNUSED, GESTrackObject * obj) { @@ -520,7 +520,7 @@ gnlobject_duration_cb (GstElement * gnlobject, GParamSpec * arg G_GNUC_UNUSED, } } -void +static void gnlobject_active_cb (GstElement * gnlobject, GParamSpec * arg G_GNUC_UNUSED, GESTrackObject * obj) {