[Xfce4-commits] <parole:master> Drop deprecated gst-iface files

Christoph Mende noreply at xfce.org
Mon Jul 23 01:25:36 CEST 2012


Updating branch refs/heads/master
         to 8b97d255332df3eba9a270d2d2630fc2d6e1106b (commit)
       from 52fea68f3851b53e7226d8c7755794b771ccd25f (commit)

commit 8b97d255332df3eba9a270d2d2630fc2d6e1106b
Author: Simon Steinbeiss <ochosi at xfce.org>
Date:   Fri Jul 13 14:01:29 2012 +0200

    Drop deprecated gst-iface files

 gst/Makefile.am        |    4 +-
 gst/parole-gst-iface.c |  108 ------------------------------------------------
 gst/parole-gst-iface.h |   70 -------------------------------
 3 files changed, 1 insertions(+), 181 deletions(-)

diff --git a/gst/Makefile.am b/gst/Makefile.am
index 891ec29..393edc3 100644
--- a/gst/Makefile.am
+++ b/gst/Makefile.am
@@ -18,9 +18,7 @@ GENERATED_FILES =			\
 libparolegst_la_SOURCES =		\
 	$(GENERATED_FILES)		\
 	parole-gst.c			\
-	parole-gst.h			\
-	parole-gst-iface.c		\
-	parole-gst-iface.h
+	parole-gst.h			
 	
 libparolegst_la_CFLAGS =		\
 	$(GST_VIDEO_CFLAGS)             \
diff --git a/gst/parole-gst-iface.c b/gst/parole-gst-iface.c
deleted file mode 100644
index cdc8e67..0000000
--- a/gst/parole-gst-iface.c
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
- * * Copyright (C) 2009-2011 Ali <aliov at xfce.org>
- *
- * Licensed under the GNU General Public License Version 2
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
- */
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include <glib.h>
-
-#include "parole-gst-iface.h"
-
-GType
-parole_gst_helper_get_type (void)
-{
-    static GType type = G_TYPE_INVALID;
-
-    if (G_UNLIKELY (type == G_TYPE_INVALID))
-    {
-	static const GTypeInfo info =
-	{
-	    sizeof (ParoleGstHelperIface),
-	    NULL,
-	    NULL,
-	    NULL,
-	    NULL,
-	    NULL,
-	    0,
-	    0,
-	    NULL,
-	    NULL,
-	};
-
-	type = g_type_register_static (G_TYPE_INTERFACE, "ParoleGstHelperIface", &info, 0);
-
-	g_type_interface_add_prerequisite (type, G_TYPE_OBJECT);
-    }
-    
-    return type;
-}
-
-void parole_gst_helper_draw_logo (ParoleGstHelper *gst)
-{
-    if ( PAROLE_GST_HELPER_GET_IFACE (gst)->draw_logo )
-    {
-	(*PAROLE_GST_HELPER_GET_IFACE (gst)->draw_logo) (gst);
-    }
-}
-
-void parole_gst_helper_load_subtitle (ParoleGstHelper *gst)
-{
-    if ( PAROLE_GST_HELPER_GET_IFACE (gst)->load_subtitle )
-    {
-	(*PAROLE_GST_HELPER_GET_IFACE (gst)->load_subtitle) (gst);
-    }
-}
-
-void parole_gst_helper_set_video_colors	(ParoleGstHelper *gst)
-{
-    if ( PAROLE_GST_HELPER_GET_IFACE (gst)->set_video_color_balance )
-    {
-	(*PAROLE_GST_HELPER_GET_IFACE (gst)->set_video_color_balance) (gst);
-    }
-}
-
-void parole_gst_helper_set_subtitle_font (ParoleGstHelper *gst)
-{
-    if ( PAROLE_GST_HELPER_GET_IFACE (gst)->set_subtitle_font )
-    {
-	(*PAROLE_GST_HELPER_GET_IFACE (gst)->set_subtitle_font) (gst);
-    }
-}
-
-void parole_gst_helper_set_subtitle_encoding (ParoleGstHelper *gst)
-{
-    if ( PAROLE_GST_HELPER_GET_IFACE (gst)->set_subtitle_encoding )
-    {
-	(*PAROLE_GST_HELPER_GET_IFACE (gst)->set_subtitle_encoding) (gst);
-    }
-}
-
-void parole_gst_helper_update_vis (ParoleGstHelper *gst)
-{
-    if ( PAROLE_GST_HELPER_GET_IFACE (gst)->update_vis )
-    {
-	(*PAROLE_GST_HELPER_GET_IFACE (gst)->update_vis) (gst);
-    }
-}
diff --git a/gst/parole-gst-iface.h b/gst/parole-gst-iface.h
deleted file mode 100644
index c236458..0000000
--- a/gst/parole-gst-iface.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * * Copyright (C) 2009-2011 Ali <aliov at xfce.org>
- *
- * Licensed under the GNU General Public License Version 2
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
- */
-
-#ifndef __PAROLE_GST_HELPER_H
-#define __PAROLE_GST_HELPER_H
-
-#include <gtk/gtk.h>
-
-G_BEGIN_DECLS 
-
-#define PAROLE_TYPE_GST_HELPER      	   (parole_gst_helper_get_type ())
-#define PAROLE_GST_HELPER(o)        	   (G_TYPE_CHECK_INSTANCE_CAST ((o), PAROLE_TYPE_GST_HELPER, ParoleGstHelper))
-#define PAROLE_IS_GST_HELPER(o)      	   (G_TYPE_CHECK_INSTANCE_TYPE ((o), PAROLE_TYPE_GST_HELPER))
-#define PAROLE_GST_HELPER_GET_IFACE(o)     (G_TYPE_INSTANCE_GET_INTERFACE((o), PAROLE_TYPE_GST_HELPER, ParoleGstHelperIface))
-
-typedef struct _ParoleGstHelperIface ParoleGstHelperIface;
-typedef struct _ParoleGstHelper      ParoleGstHelper;
-
-struct _ParoleGstHelperIface
-{
-    GTypeInterface 	__parent__;
-
-    void		(*draw_logo)				(ParoleGstHelper *gst);
-    
-    void		(*set_video_color_balance)		(ParoleGstHelper *gst);
-
-    void		(*load_subtitle)			(ParoleGstHelper *gst);
-
-    void		(*set_subtitle_font)			(ParoleGstHelper *gst);
-    
-    void		(*set_subtitle_encoding)		(ParoleGstHelper *gst);
-
-    void		(*update_vis)				(ParoleGstHelper *gst);
-
-};
-
-GType 			parole_gst_helper_get_type 		(void) G_GNUC_CONST;
-
-void			parole_gst_helper_draw_logo		(ParoleGstHelper *gst);
-
-void			parole_gst_helper_load_subtitle		(ParoleGstHelper *gst);
-
-void			parole_gst_helper_set_video_colors	(ParoleGstHelper *gst);
-
-void 			parole_gst_helper_set_subtitle_font	(ParoleGstHelper *gst);
-
-void 			parole_gst_helper_set_subtitle_encoding (ParoleGstHelper *gst);
-
-void			parole_gst_helper_update_vis		(ParoleGstHelper *gst);
-
-G_END_DECLS
-
-#endif  /*__PAROLE_GST_IFACE_H*/


More information about the Xfce4-commits mailing list