Warning fixes
[claws.git] / src / plugins / notification / notification_core.c
index 2a96d5583622e2710f4480ed47e91e0803f1bf34..d797b8402bc07463e811b90e963cd181cd584813 100644 (file)
@@ -454,9 +454,7 @@ static void notification_new_unnotified_do_msg(MsgInfo *msg)
 #ifdef HAVE_LIBCANBERRA_GTK
   /* canberra */
   if(notify_config.canberra_play_sounds && !canberra_new_email_is_playing) {
-    MainWindow *mainwin;
     ca_proplist *proplist;
-    mainwin = mainwindow_get_mainwindow();
     ca_proplist_create(&proplist);
     ca_proplist_sets(proplist,CA_PROP_EVENT_ID ,"message-new-email");
     canberra_new_email_is_playing = TRUE;