diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-02-25 14:12:05 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-02-25 14:12:05 +0000 |
commit | a7952974571bf697b218cedacacd118e2e05e97e (patch) | |
tree | 3248095a6bd9d5bed5957fe3707e331c5dde2778 /tests/test-indicator-sound.c | |
parent | c879c510dbef95deea70687d59c2013005bf946d (diff) | |
download | ayatana-indicator-sound-a7952974571bf697b218cedacacd118e2e05e97e.tar.gz ayatana-indicator-sound-a7952974571bf697b218cedacacd118e2e05e97e.tar.bz2 ayatana-indicator-sound-a7952974571bf697b218cedacacd118e2e05e97e.zip |
fixes
Diffstat (limited to 'tests/test-indicator-sound.c')
-rw-r--r-- | tests/test-indicator-sound.c | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/tests/test-indicator-sound.c b/tests/test-indicator-sound.c index 81fc966..0885bb5 100644 --- a/tests/test-indicator-sound.c +++ b/tests/test-indicator-sound.c @@ -17,35 +17,20 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/*#include <math.h>*/ -/*#include <glib.h>*/ -/*#include <glib-object.h>*/ -/*#include <gtk/gtk.h>*/ -/*#include <gdk/gdkkeysyms.h>*/ -/*#include <libdbusmenu-gtk/menu.h>*/ -/*#include <libido/idoscalemenuitem.h>*/ - -/*#include <dbus/dbus-glib.h>*/ -/*#include <dbus/dbus-glib-bindings.h>*/ - -/*#include <libindicator/indicator.h>*/ -/*#include <libindicator/indicator-object.h>*/ -/*#include <libindicator/indicator-service-manager.h>*/ - #include <string.h> #include "../src/indicator-sound.c" void test_libindicator_sound_init() { - IndicatorObject * sound_menu = indicator_object_new_from_file("/home/ronoc/canonical/repos/branches/indicator-sound/tests-indicator-sound/indicator-sound/src/.libs/libsoundmenu.so"); + IndicatorObject * sound_menu = indicator_object_new_from_file(BUILD_DIR "/.libs/libsoundmenu.so"); g_assert(sound_menu != NULL); g_object_unref(G_OBJECT(sound_menu)); } void test_libindicator_determine_state() { - IndicatorObject * sound_menu = indicator_object_new_from_file("/home/ronoc/canonical/repos/branches/indicator-sound/tests-indicator-sound/indicator-sound/src/.libs/libsoundmenu.so"); + IndicatorObject * sound_menu = indicator_object_new_from_file(BUILD_DIR "/.libs/libsoundmenu.so"); get_icon(sound_menu); determine_state_from_volume(40); |