diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/gui-bar-item.c | 3 | ||||
-rw-r--r-- | src/gui/gui-bar.c | 4 | ||||
-rw-r--r-- | src/gui/gui-buffer.c | 3 |
3 files changed, 6 insertions, 4 deletions
diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c index 0061ccae0..087d46147 100644 --- a/src/gui/gui-bar-item.c +++ b/src/gui/gui-bar-item.c @@ -1455,8 +1455,7 @@ gui_bar_item_print_log () log_printf (""); log_printf ("[bar item (addr:0x%x)]", ptr_item); log_printf (" plugin . . . . . . . . : 0x%x ('%s')", - ptr_item->plugin, - (ptr_item->plugin) ? ptr_item->plugin->name : ""); + ptr_item->plugin, plugin_get_name (ptr_item->plugin)); log_printf (" name . . . . . . . . . : '%s'", ptr_item->name); log_printf (" build_callback . . . . : 0x%x", ptr_item->build_callback); log_printf (" build_callback_data. . : 0x%x", ptr_item->build_callback_data); diff --git a/src/gui/gui-bar.c b/src/gui/gui-bar.c index 1f151eea0..d4e79d671 100644 --- a/src/gui/gui-bar.c +++ b/src/gui/gui-bar.c @@ -31,6 +31,7 @@ #include "../core/wee-config.h" #include "../core/wee-log.h" #include "../core/wee-string.h" +#include "../plugins/plugin.h" #include "gui-bar.h" #include "gui-bar-item.h" #include "gui-buffer.h" @@ -1990,7 +1991,8 @@ gui_bar_print_log () { log_printf (""); log_printf ("[bar (addr:0x%x)]", ptr_bar); - log_printf (" plugin . . . . . . . . : 0x%x", ptr_bar->plugin); + log_printf (" plugin . . . . . . . . : 0x%x ('%s')", + ptr_bar->plugin, plugin_get_name (ptr_bar->plugin)); log_printf (" name . . . . . . . . . : '%s'", ptr_bar->name); log_printf (" hidden . . . . . . . . : %d", CONFIG_INTEGER(ptr_bar->hidden)); log_printf (" priority . . . . . . . : %d", CONFIG_INTEGER(ptr_bar->priority)); diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c index 76f56061e..fa33d463f 100644 --- a/src/gui/gui-buffer.c +++ b/src/gui/gui-buffer.c @@ -1666,7 +1666,8 @@ gui_buffer_print_log () { log_printf (""); log_printf ("[buffer (addr:0x%x)]", ptr_buffer); - log_printf (" plugin . . . . . . . . : 0x%x", ptr_buffer->plugin); + log_printf (" plugin . . . . . . . . : 0x%x ('%s')", + ptr_buffer->plugin, plugin_get_name (ptr_buffer->plugin)); log_printf (" plugin_name_for_upgrade: '%s'", ptr_buffer->plugin_name_for_upgrade); log_printf (" number . . . . . . . . : %d", ptr_buffer->number); log_printf (" layout_number. . . . . : %d", ptr_buffer->layout_number); |