[beast] BSE: compile bsemididevice as C++ source
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast] BSE: compile bsemididevice as C++ source
- Date: Fri, 5 Aug 2011 18:49:31 +0000 (UTC)
commit a4b0f0796ddbe2cefa84d0d04e7e3b73a3015e68
Author: Stefan Westerfeld <stefan space twc de>
Date: Fri Aug 5 18:21:44 2011 +0200
BSE: compile bsemididevice as C++ source
bse/Makefile.am | 2 +-
bse/{bsemididevice.c => bsemididevice.cc} | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/bse/Makefile.am b/bse/Makefile.am
index f46fcc5..6bec18a 100644
--- a/bse/Makefile.am
+++ b/bse/Makefile.am
@@ -73,7 +73,7 @@ bse_sources = $(strip \
bsedatapocket.cc bseeditablesample.cc bseenums.cc bsegconfig.cc \
bseglobals.cc bseglue.cc bseitem.cc bsejanitor.cc \
bsemain.cc bsemath.cc bsemathsignal.cc bseladspa.cc \
- bsemidicontroller.cc bsemididevice.c bsedevice.cc \
+ bsemidicontroller.cc bsemididevice.cc bsedevice.cc \
bsemididevice-null.c bsemididevice-oss.c bsemidievent.c bsemidinotifier.c \
bsemidireceiver.cc bsemidisynth.c bseobject.c bsepart.c \
bsepcminput.c bsepcmoutput.c bseparam.c bseparasite.c \
diff --git a/bse/bsemididevice.c b/bse/bsemididevice.cc
similarity index 92%
rename from bse/bsemididevice.c
rename to bse/bsemididevice.cc
index 651a25d..af393c6 100644
--- a/bse/bsemididevice.c
+++ b/bse/bsemididevice.cc
@@ -22,7 +22,7 @@
/* --- variables --- */
-static gpointer parent_class = NULL;
+static void *parent_class = NULL;
/* --- functions --- */
@@ -63,11 +63,11 @@ bse_midi_device_finalize (GObject *object)
}
static void
-bse_midi_device_class_init (BseMidiDeviceClass *class)
+bse_midi_device_class_init (BseMidiDeviceClass *klass)
{
- GObjectClass *gobject_class = G_OBJECT_CLASS (class);
+ GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
- parent_class = g_type_class_peek_parent (class);
+ parent_class = g_type_class_peek_parent (klass);
gobject_class->dispose = bse_midi_device_dispose;
gobject_class->finalize = bse_midi_device_finalize;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]