[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 07/09: Fix incorrect check when setting command.

noreply at xfce.org noreply at xfce.org
Sat Jan 18 16:26:29 CET 2020


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   .   5   
   in repository panel-plugins/xfce4-whiskermenu-plugin.

commit ef7a258ac772975f2fdd2ce62e1c7a4d8aac2aed
Author: Graeme Gott <graeme at gottcode.org>
Date:   Thu Jan 9 08:16:26 2020 -0500

    Fix incorrect check when setting command.
---
 panel-plugin/command.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/command.cpp b/panel-plugin/command.cpp
index a4cb17e..3beb8f6 100644
--- a/panel-plugin/command.cpp
+++ b/panel-plugin/command.cpp
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2013, 2016, 2018 Graeme Gott <graeme at gottcode.org>
+ * Copyright (C) 2013, 2016, 2018, 2020 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
@@ -140,7 +140,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
 
 void Command::set(const gchar* command)
 {
-	if (command == m_command)
+	if (g_strcmp0(command, m_command) == 0)
 	{
 		return;
 	}

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


More information about the Xfce4-commits mailing list