aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/callbacks.c')
-rw-r--r--hardinfo2/callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo2/callbacks.c b/hardinfo2/callbacks.c
index 5ee34fa4..bc50c668 100644
--- a/hardinfo2/callbacks.c
+++ b/hardinfo2/callbacks.c
@@ -83,7 +83,7 @@ void cb_copy_to_clipboard()
ShellModuleEntry *entry = shell_get_main_shell()->selected;
if (entry) {
- gchar *data = entry->func(entry->number);
+ gchar *data = module_entry_function(entry);
GtkClipboard *clip = gtk_clipboard_get(gdk_atom_intern("CLIPBOARD", FALSE));
ReportContext *ctx = report_context_text_new(NULL);