remove unnecessary battery_config null check

CID 1040140
devs/discomfitor/eo
Mike Blumenkrantz 9 years ago
parent d391e5c130
commit 8422eea8d0
  1. 2
      src/modules/battery/e_mod_main.c

@ -447,7 +447,7 @@ _battery_warning_popup(Instance *inst, int t, double percent)
if ((!inst) || (inst->warning)) return;
#ifdef HAVE_ENOTIFY
if (battery_config && battery_config->desktop_notifications)
if (battery_config->desktop_notifications)
{
E_Notification_Notify n;
memset(&n, 0, sizeof(E_Notification_Notify));

Loading…
Cancel
Save