summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-04-27 20:35:04 -0300
committerTingPing <tngpng@gmail.com>2013-04-27 20:35:04 -0300
commit24034b5b8bed946e03217e371746aaccffd09451 (patch)
treec652661d38724dc3b379a5ee5098f84fed3f62b1 /src/fe-gtk
parent78f9f3f87ce0593a2ee28426a562f715c045f173 (diff)
More cleanup
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/fe-gtk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c
index 8255df20..fe5ad51c 100644
--- a/src/fe-gtk/fe-gtk.c
+++ b/src/fe-gtk/fe-gtk.c
@@ -676,8 +676,7 @@ fe_beep (session *sess)
 #ifdef USE_LIBCANBERRA
 	if (ca_context_play (ca_gtk_context_get (), 0,
 					CA_PROP_APPLICATION_NAME, DISPLAY_NAME,
-					CA_PROP_EVENT_ID, "message-new-instant", NULL) == 0)
-		return;
+					CA_PROP_EVENT_ID, "message-new-instant", NULL) != 0)
 #endif
 	gdk_beep ();
 #endif