[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 01/11: Fix warning about infinite recursion. (bug #12398)
noreply at xfce.org
noreply at xfce.org
Sat Aug 20 18:36:34 CEST 2016
This is an automated email from the git hooks/post-receive script.
gottcode pushed a commit to annotated tag v1.5.3
in repository panel-plugins/xfce4-whiskermenu-plugin.
commit b1d54066640f00b51579929ac3706cd0b2fd5eb4
Author: Graeme Gott <graeme at gottcode.org>
Date: Wed Jan 6 12:46:47 2016 -0500
Fix warning about infinite recursion. (bug #12398)
---
panel-plugin/launcher.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/launcher.cpp b/panel-plugin/launcher.cpp
index 58899ef..e6d217c 100644
--- a/panel-plugin/launcher.cpp
+++ b/panel-plugin/launcher.cpp
@@ -91,7 +91,7 @@ static void replace_with_quoted_string(std::string& command, size_t& index, cons
//-----------------------------------------------------------------------------
-static void replace_with_quoted_string(std::string& command, size_t& index, gchar* unquoted)
+static void replace_and_free_with_quoted_string(std::string& command, size_t& index, gchar* unquoted)
{
replace_with_quoted_string(command, index, unquoted);
g_free(unquoted);
@@ -220,7 +220,7 @@ void Launcher::run(GdkScreen* screen) const
break;
case 'k':
- replace_with_quoted_string(command, i, garcon_menu_item_get_uri(m_item));
+ replace_and_free_with_quoted_string(command, i, garcon_menu_item_get_uri(m_item));
length = command.length() - 1;
break;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list