From: David S. <dsc...@us...> - 2003-10-30 01:43:58
|
CVS Root: /cvsroot/gstreamer Module: gst-plugins Changes by: dschleef Date: Wed Oct 29 2003 17:43:57 PST Log message: change Iface to Interface Modified files: gst-libs/gst/navigation: navigation.c navigation.h sys/xvideo : xvideosink.c Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/gst-libs/gst/navigation/navigation.c.diff?r1=1.4&r2=1.5 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/gst-libs/gst/navigation/navigation.h.diff?r1=1.4&r2=1.5 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/sys/xvideo/xvideosink.c.diff?r1=1.54&r2=1.55 ====Begin Diffs==== Index: navigation.c =================================================================== RCS file: /cvsroot/gstreamer/gst-plugins/gst-libs/gst/navigation/navigation.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- navigation.c 29 Oct 2003 05:12:18 -0000 1.4 +++ navigation.c 30 Oct 2003 01:43:45 -0000 1.5 @@ -25,7 +25,7 @@ #include <gst/navigation/navigation.h> -static void gst_navigation_class_init (GstNavigationIface *iface); +static void gst_navigation_class_init (GstNavigationInterface *iface); GType gst_navigation_get_type (void) @@ -34,7 +34,7 @@ if (!gst_navigation_type) { static const GTypeInfo gst_navigation_info = { - sizeof (GstNavigationIface), + sizeof (GstNavigationInterface), (GBaseInitFunc) gst_navigation_class_init, NULL, NULL, @@ -54,7 +54,7 @@ } static void -gst_navigation_class_init (GstNavigationIface *iface) +gst_navigation_class_init (GstNavigationInterface *iface) { /* default virtual functions */ iface->send_event = NULL; @@ -63,7 +63,7 @@ void gst_navigation_send_event (GstNavigation *navigation, GstCaps *caps) { - GstNavigationIface *iface = GST_NAVIGATION_GET_IFACE (navigation); + GstNavigationInterface *iface = GST_NAVIGATION_GET_IFACE (navigation); if (iface->send_event) { iface->send_event (navigation, caps); Index: navigation.h =================================================================== RCS file: /cvsroot/gstreamer/gst-plugins/gst-libs/gst/navigation/navigation.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- navigation.h 29 Oct 2003 05:12:18 -0000 1.4 +++ navigation.h 30 Oct 2003 01:43:45 -0000 1.5 @@ -34,18 +34,18 @@ #define GST_IS_NAVIGATION(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_NAVIGATION)) #define GST_NAVIGATION_GET_IFACE(obj) \ - (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_NAVIGATION, GstNavigationIface)) + (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_NAVIGATION, GstNavigationInterface)) typedef struct _GstNavigation GstNavigation; -typedef struct _GstNavigationIface { +typedef struct _GstNavigationInterface { GTypeInterface g_iface; /* virtual functions */ void (*send_event) (GstNavigation *navigation, GstCaps *caps); GST_CLASS_PADDING -} GstNavigationIface; +} GstNavigationInterface; GType gst_navigation_get_type (void); Index: xvideosink.c =================================================================== RCS file: /cvsroot/gstreamer/gst-plugins/sys/xvideo/xvideosink.c,v retrieving revision 1.54 retrieving revision 1.55 diff -u -d -r1.54 -r1.55 --- xvideosink.c 29 Oct 2003 03:24:42 -0000 1.54 +++ xvideosink.c 30 Oct 2003 01:43:45 -0000 1.55 @@ -61,7 +61,7 @@ static void gst_xvideosink_xoverlay_init (GstXOverlayClass *klass); static void gst_xvideosink_xoverlay_set_xwindow_id (GstXOverlay *overlay, XID xwindow_id); -static void gst_xvideosink_navigation_init (GstNavigationIface *iface); +static void gst_xvideosink_navigation_init (GstNavigationInterface *iface); static void gst_xvideosink_navigation_send_event (GstNavigation *navigation, GstCaps *caps); static void gst_xvideosink_chain (GstPad *pad, GstData *_data); @@ -194,7 +194,7 @@ } static void -gst_xvideosink_navigation_init (GstNavigationIface *iface) +gst_xvideosink_navigation_init (GstNavigationInterface *iface) { iface->send_event = gst_xvideosink_navigation_send_event; } |