Commits

jjacky committed ec048c7

checking the news: if failed, no error was shown. also, the GError wasn't reset for other checks, fixed.

  • Participants
  • Parent commits b5164ad

Comments (0)

Files changed (1)

             /* we dont free xml_news because it might be used by the notification
              * action (to show the news). hence, it'll be done when the notif is over */
         }
+        else if (error != NULL)
+        {
+            notify_error ("Unable to check the news", error->message);
+            g_clear_error (&error);
+        }
     }
     
     /* ALPM is required even for AUR only, since we get the list of foreign