Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta <antenore@simbiosi.org>2020-06-14 10:05:18 +0300
committerAntenore Gatta <antenore@simbiosi.org>2020-06-14 10:05:18 +0300
commit5d569e04f33b2c9a8f735d928ad2c9cec9d1c4b5 (patch)
tree79ac4ba9d19b0f79de9d887b2a3f548ac9170ae1 /plugins/tool_hello_world
parentb3776bfde09ad2d63169aa72c9d735133d535199 (diff)
Build failure with -DWITH_EXAMPLES=yes, closes #2228
Signed-off-by: Antenore Gatta <antenore@simbiosi.org>
Diffstat (limited to 'plugins/tool_hello_world')
-rw-r--r--plugins/tool_hello_world/plugin.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/tool_hello_world/plugin.c b/plugins/tool_hello_world/plugin.c
index 3e277435d..9695fd586 100644
--- a/plugins/tool_hello_world/plugin.c
+++ b/plugins/tool_hello_world/plugin.c
@@ -42,17 +42,18 @@
#include <gdk/gdkx.h>
static RemminaPluginService *remmina_plugin_service = NULL;
+#define REMMINA_PLUGIN_DEBUG(fmt, ...) remmina_plugin_service->_remmina_debug(__func__, fmt, ##__VA_ARGS__)
static void remmina_plugin_tool_init(RemminaProtocolWidget *gp)
{
TRACE_CALL(__func__);
- remmina_plugin_service->_debug("[%s] Plugin init", PLUGIN_NAME);
+ REMMINA_PLUGIN_DEBUG("[%s] Plugin init", PLUGIN_NAME);
}
static gboolean remmina_plugin_tool_open_connection(RemminaProtocolWidget *gp)
{
TRACE_CALL(__func__);
- remmina_plugin_service->_debug("[%s] Plugin open connection", PLUGIN_NAME);
+ REMMINA_PLUGIN_DEBUG("[%s] Plugin open connection", PLUGIN_NAME);
GtkDialog *dialog;
dialog = GTK_DIALOG(gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL | GTK_DIALOG_USE_HEADER_BAR,
@@ -65,7 +66,7 @@ static gboolean remmina_plugin_tool_open_connection(RemminaProtocolWidget *gp)
static gboolean remmina_plugin_tool_close_connection(RemminaProtocolWidget *gp)
{
TRACE_CALL(__func__);
- remmina_plugin_service->_debug("[%s] Plugin close connection", PLUGIN_NAME);
+ REMMINA_PLUGIN_DEBUG("[%s] Plugin close connection", PLUGIN_NAME);
remmina_plugin_service->protocol_plugin_emit_signal(gp, "disconnect");
return FALSE;
}