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

noreply at xfce.org noreply at xfce.org
Fri Jan 10 03:02:49 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       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-whiskermenu-plugin.

commit 77bae39d066e1ee46b95c9663968eebc7a41e942
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