[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 03/10: Remove workaround for garcon that did not always fix crash.

noreply at xfce.org noreply at xfce.org
Wed Aug 7 20:25:11 CEST 2019


This is an automated email from the git hooks/post-receive script.

g   o   t   t   c   o   d   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       a   n   n   o   t   a   t   e   d       t   a   g       v   2   .   3   .   3   
   in repository panel-plugins/xfce4-whiskermenu-plugin.

commit 1c8f18dad3a3d8bd0f14454d02695b43e54c2898
Author: Graeme Gott <graeme at gottcode.org>
Date:   Wed Jul 10 07:52:52 2019 -0400

    Remove workaround for garcon that did not always fix crash.
    
    This reverts commit 2fb2ec5a0fd031ad7ff377a86e8fd0e06c83ab94.
---
 panel-plugin/applications-page.cpp | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/panel-plugin/applications-page.cpp b/panel-plugin/applications-page.cpp
index c58a7a0..4d6dc4b 100644
--- a/panel-plugin/applications-page.cpp
+++ b/panel-plugin/applications-page.cpp
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2013, 2015, 2016, 2017, 2018, 2019 Graeme Gott <graeme at gottcode.org>
+ * Copyright (C) 2013, 2015, 2016, 2017, 2018 Graeme Gott <graeme at gottcode.org>
  *
  * This library is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -160,7 +160,6 @@ void ApplicationsPage::invalidate_applications()
 	if (m_load_status == STATUS_LOADED)
 	{
 		m_load_status = STATUS_INVALID;
-		clear_applications();
 	}
 	else if (m_load_status == STATUS_LOADING)
 	{
@@ -340,15 +339,7 @@ void ApplicationsPage::load_contents()
 	get_window()->set_items();
 	get_window()->set_loaded();
 
-	if (m_load_status == STATUS_LOADING)
-	{
-		m_load_status = STATUS_LOADED;
-	}
-	else
-	{
-		m_load_status = STATUS_INVALID;
-		clear_applications();
-	}
+	m_load_status = (m_load_status == STATUS_LOADING) ? STATUS_LOADED : STATUS_INVALID;
 }
 
 //-----------------------------------------------------------------------------

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list