Comment 1 for bug 1442219

Revision history for this message
moma (osmoma) wrote :

Hello,
Audio-recorder and GTK3+ seems to have the same widget class GtkLevelBar. Both does the same thing. I created a GtkLevelBar widget for 4 years ago and added it to the audio-recorder. Now GTK3 provides the same functionality.

Please see: https://developer.gnome.org/gtk3/stable/GtkLevelBar.html
And
http://bazaar.launchpad.net/~audio-recorder/audio-recorder/trunk/view/head:/src/gtklevelbar.c
(gtklevelbar.c and gtklevelbar.h).

You should remove the gtklevelbar.[ch] files from the project and use the standard GtkLevelBar from GTK3+.
You should also remove code for left-click and right-click events on that widget.
Ref: http://bazaar.launchpad.net/~audio-recorder/audio-recorder/trunk/view/head:/src/main.c#L995

Look for and change all references to "gtk_level". Run this command to find files from the base "audio-recorder" folder.

$ grep -Ri gtklevelbar

Modify also
src/Makefile.am and po/POTFILES.in

Then run:
make clean
aclocal
autoconf
automake -a
./configure
make

Alternative solution is to rename GtkLevelBar in gtklevelbar.c and gtklevelbar.h and then change all references to it.

BTW: The development of audio-recorder has been taken over by Team "Audio-Recorder".
Please join to the team if you have time. Team members can create their own branches and push changes to the Launchpad.
Ref: https://lists.launchpad.net/audio-recorder/msg00007.html

Good luck.