[gbrainy/gbrainy3] Use libcanberra for GTK 3.0
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy/gbrainy3] Use libcanberra for GTK 3.0
- Date: Sun, 14 Dec 2014 15:11:55 +0000 (UTC)
commit ae996010696ed0b36e712b157247e4720cb18c4b
Author: Jordi Mas <jmas softcatala org>
Date: Sun Dec 14 10:11:47 2014 -0500
Use libcanberra for GTK 3.0
configure.ac | 2 +-
src/Core/Platform/Unix.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 046546f..1117e01 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,7 +94,7 @@ CANBERRA_GTK_REQUIRED=0.26
PKG_CHECK_MODULES(GBRAINY_CORE, mono >= $MONO_REQUIRED)
PKG_CHECK_MODULES(GBRAINY, gtk-sharp-3.0 >= $GTKSHARP_REQUIRED)
-PKG_CHECK_MODULES(GBRAINY, libcanberra-gtk >= $CANBERRA_GTK_REQUIRED)
+PKG_CHECK_MODULES(GBRAINY, libcanberra-gtk-3-0 >= $CANBERRA_GTK_REQUIRED)
AC_SUBST(GBRAINY_LIBS)
AC_ARG_ENABLE(addins, AC_HELP_STRING([--disable-addins], [Disable mono-addins support]), ,
enable_addins="no")
diff --git a/src/Core/Platform/Unix.cs b/src/Core/Platform/Unix.cs
index 1ffb971..410d0fd 100644
--- a/src/Core/Platform/Unix.cs
+++ b/src/Core/Platform/Unix.cs
@@ -42,7 +42,7 @@ namespace gbrainy.Core.Platform
[DllImport("libgtk-win32-2.0-0.dll")]
static extern unsafe bool gtk_show_uri(IntPtr screen, IntPtr uri, uint timestamp, out IntPtr
error);
- [DllImport ("libcanberra-gtk.so.0")]
+ [DllImport ("libcanberra-gtk3.so.0")]
static extern void ca_gtk_play_for_widget (IntPtr widget, uint id, string name1, string
prop1, string name2, string prop2, IntPtr nil);
/* Taken from locale.h */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]