[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 452/473: Fixed crash on exit.

noreply at xfce.org noreply at xfce.org
Tue Feb 17 00:00:22 CET 2015


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

gottcode pushed a commit to branch master
in repository panel-plugins/xfce4-whiskermenu-plugin.

commit 5f1bd97ab006edcc163798b6d60c627b9288d973
Author: Graeme Gott <graeme at gottcode.org>
Date:   Tue Feb 10 08:28:46 2015 -0500

    Fixed crash on exit.
---
 panel-plugin/plugin.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/plugin.cpp b/panel-plugin/plugin.cpp
index 73d2d05..b487adc 100644
--- a/panel-plugin/plugin.cpp
+++ b/panel-plugin/plugin.cpp
@@ -190,10 +190,10 @@ Plugin::~Plugin()
 	delete m_window;
 	m_window = NULL;
 
+	gtk_widget_destroy(m_button);
+
 	delete wm_settings;
 	wm_settings = NULL;
-
-	gtk_widget_destroy(m_button);
 }
 
 //-----------------------------------------------------------------------------

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


More information about the Xfce4-commits mailing list