From acc6e48b81d48b084393809110c8949c6782021f Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Tue, 2 Jan 2007 23:15:08 +0000 Subject: Implemented new module API. Needs cleanups. --- hardinfo2/callbacks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hardinfo2/callbacks.c') 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); -- cgit v1.2.3