From b0b678824e185b232cc0902162463a6853942516 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Fri, 30 Apr 2010 11:08:05 +0000 Subject: [PATCH] Defined a stub glk_schannel_struct to fix another regression git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@250 ddfedd41-794f-dd11-ae45-00112f111e67 --- libchimara/Makefile.am | 2 +- libchimara/schannel.c | 3 +++ libchimara/schannel.h | 18 ++++++++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 libchimara/schannel.h diff --git a/libchimara/Makefile.am b/libchimara/Makefile.am index de74326..b0ce28e 100644 --- a/libchimara/Makefile.am +++ b/libchimara/Makefile.am @@ -35,7 +35,7 @@ libchimara_la_SOURCES = \ mouse.c mouse.h \ pager.c pager.h \ resource.c resource.h \ - schannel.c \ + schannel.c schannel.h \ stream.c stream.h \ strio.c strio.h \ style.c style.h \ diff --git a/libchimara/schannel.c b/libchimara/schannel.c index c991148..d8bfefc 100644 --- a/libchimara/schannel.c +++ b/libchimara/schannel.c @@ -1,6 +1,9 @@ #include #include +#include "magic.h" +#include "schannel.h" + /** * glk_schannel_create: * @rock: The rock value to give the new sound channel. diff --git a/libchimara/schannel.h b/libchimara/schannel.h new file mode 100644 index 0000000..6ec0ce3 --- /dev/null +++ b/libchimara/schannel.h @@ -0,0 +1,18 @@ +#ifndef __SCHANNEL_H__ +#define __SCHANNEL_H__ + +#include +#include "glk.h" +#include "gi_dispa.h" + +struct glk_schannel_struct +{ + /*< private >*/ + glui32 magic, rock; + gidispatch_rock_t disprock; + /* Pointer to the list node in the global sound channel list that contains + this sound channel */ + GList *schannel_list; +}; + +#endif \ No newline at end of file -- 2.30.2