From bb878848f71a024e8cc2874979785d0f8a430492 Mon Sep 17 00:00:00 2001 From: TingPing Date: Sat, 27 Apr 2013 20:28:39 -0400 Subject: Use regular canberra not gtk --- src/fe-gtk/fe-gtk.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c index fe5ad51c..0c3583d3 100644 --- a/src/fe-gtk/fe-gtk.c +++ b/src/fe-gtk/fe-gtk.c @@ -57,7 +57,7 @@ #endif #ifdef USE_LIBCANBERRA -#include +#include #endif GdkPixmap *channelwin_pix; @@ -674,7 +674,9 @@ fe_beep (session *sess) } #else #ifdef USE_LIBCANBERRA - if (ca_context_play (ca_gtk_context_get (), 0, + ca_context *con; + ca_context_create (&con); + if (ca_context_play (con, 0, CA_PROP_APPLICATION_NAME, DISPLAY_NAME, CA_PROP_EVENT_ID, "message-new-instant", NULL) != 0) #endif -- cgit 1.4.1