From a9e670efb247589a159d1a4d282dfa49ffa2de3a Mon Sep 17 00:00:00 2001 From: Christian Schaller Date: Fri, 14 Dec 2001 21:09:18 +0000 Subject: [PATCH] death to all // comments, portability rules they do not Original commit message from CVS: death to all // comments, portability rules they do not --- gstplay/gstmediaplay.c | 6 +++--- gstplay/gstplay.c | 18 +++++++++--------- gstplay/gststatusarea.c | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/gstplay/gstmediaplay.c b/gstplay/gstmediaplay.c index 1e03051..d2dab66 100644 --- a/gstplay/gstmediaplay.c +++ b/gstplay/gstmediaplay.c @@ -58,7 +58,7 @@ static GtkTargetEntry target_table[] = { }; static GtkObject *parent_class = NULL; -//static guint gst_media_play_signals[LAST_SIGNAL] = { 0 }; +/* static guint gst_media_play_signals[LAST_SIGNAL] = { 0 }; */ GtkType gst_media_play_get_type (void) @@ -376,7 +376,7 @@ on_load_file_selected (GtkWidget *button, gst_media_play_start_uri (play, file_name); gdk_threads_enter (); - //gst_media_play_addto_playlist (play, file_name); + /* gst_media_play_addto_playlist (play, file_name); */ g_free (data); } @@ -661,7 +661,7 @@ gst_media_play_frame_displayed (GstPlay *play, GstMediaPlay *mplay) size = gst_play_get_media_size (play); current_offset = gst_play_get_media_offset (play); - //g_print ("%lu %lu %lu %lu\n", current_time, total_time, size, current_offset); + /* g_print ("%lu %lu %lu %lu\n", current_time, total_time, size, current_offset); */ if (current_time != mplay->last_time) { gdk_threads_enter (); diff --git a/gstplay/gstplay.c b/gstplay/gstplay.c index d63811c..8442ffa 100644 --- a/gstplay/gstplay.c +++ b/gstplay/gstplay.c @@ -171,7 +171,7 @@ gst_play_init (GstPlay *play) priv->video_show = gst_elementfactory_make ("xvideosink", "show"); g_return_if_fail (priv->video_show != NULL); - //gtk_object_set (GTK_OBJECT (priv->video_element), "xv_enabled", FALSE, NULL); + /* gtk_object_set (GTK_OBJECT (priv->video_element), "xv_enabled", FALSE, NULL); */ g_signal_connect (G_OBJECT (priv->video_show), "frame_displayed", G_CALLBACK (gst_play_frame_displayed), play); g_signal_connect (G_OBJECT (priv->video_show), "have_size", @@ -329,7 +329,7 @@ gst_play_object_added (GstAutoplug* autoplug, GstObject *object, GstPlay *play) if (GST_FLAG_IS_SET (object, GST_ELEMENT_NO_SEEK)) play->priv->can_seek = FALSE; - // first come first serve here... + /* first come first serve here... */ if (!play->priv->offset_element) gst_play_object_introspect (object, "offset", &play->priv->offset_element); @@ -390,7 +390,7 @@ gst_play_have_type (GstElement *sink, GstCaps *caps, GstPlay *play) NULL); if (!new_element) { - // FIXME, signal a suitable error + /* FIXME, signal a suitable error */ return; } @@ -499,7 +499,7 @@ gst_play_realize (GtkWidget *widget) g_return_if_fail (play != NULL); - //g_print ("realize\n"); + /* g_print ("realize\n"); */ play->priv->video_widget = gtk_socket_new (); @@ -508,12 +508,12 @@ gst_play_realize (GtkWidget *widget) if (GTK_WIDGET_CLASS (parent_class)->realize) GTK_WIDGET_CLASS (parent_class)->realize (widget); - //gtk_socket_steal (GTK_SOCKET (priv->video_widget), - // gst_util_get_int_arg (GTK_OBJECT(priv->video_element), "xid")); + /* gtk_socket_steal (GTK_SOCKET (priv->video_widget), */ + /* gst_util_get_int_arg (GTK_OBJECT(priv->video_element), "xid")); */ - //gtk_widget_realize (priv->video_widget); - //gtk_socket_steal (GTK_SOCKET (priv->video_widget), - // gst_util_get_int_arg (GTK_OBJECT(priv->video_element), "xid")); + /* gtk_widget_realize (priv->video_widget); */ + /* gtk_socket_steal (GTK_SOCKET (priv->video_widget), */ + /* gst_util_get_int_arg (GTK_OBJECT(priv->video_element), "xid")); */ } void diff --git a/gstplay/gststatusarea.c b/gstplay/gststatusarea.c index 859ee07..af07484 100644 --- a/gstplay/gststatusarea.c +++ b/gstplay/gststatusarea.c @@ -23,7 +23,7 @@ enum { }; static GtkDrawingArea *parent_class = NULL; -//static guint gst_status_area_signals[LAST_SIGNAL] = { 0 }; +/* static guint gst_status_area_signals[LAST_SIGNAL] = { 0 }; */ GtkType gst_status_area_get_type (void) -- 2.7.4