Bug 4324 - compilation: too few arguments to function ‘summary_show’
Summary: compilation: too few arguments to function ‘summary_show’
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Plugins/Maildir (show other bugs)
Version: 3.17.5
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2020-03-15 18:49 UTC by Christian Weiske
Modified: 2020-03-15 20:14 UTC (History)
0 users

See Also:


Attachments

Description Christian Weiske 2020-03-15 18:49:45 UTC
Trying to compile the maildir plugin from git://git.claws-mail.org/maildir-plugin.git on Debian unstable with claws 3.17.5-2 I get the following compilation error:

maildir_gtk.c: In function ‘update_tree_cb’:
maildir_gtk.c:168:2: error: too few arguments to function ‘summary_show’
  168 |  summary_show(folderview->summaryview, NULL);
      |  ^~~~~~~~~~~~
In file included from maildir_gtk.c:41:
/usr/include/claws-mail/summaryview.h:190:10: note: declared here
  190 | gboolean summary_show    (SummaryView  *summaryview,
      |          ^~~~~~~~~~~~
maildir_gtk.c: In function ‘delete_folder_cb’:
maildir_gtk.c:338:4: error: too few arguments to function ‘summary_show’
  338 |    summary_show(folderview->summaryview,
      |    ^~~~~~~~~~~~
Comment 1 Christian Weiske 2020-03-15 18:50:12 UTC
I could solve it by passing FALSE as third parameter in the two places in maildir_gtk.c
Comment 2 Paul 2020-03-15 19:09:52 UTC
It was already fixed in Ricardo's "secret git tree" before this report.
Comment 3 Ricardo Mones 2020-03-15 20:14:19 UTC
It's not "secret", just not published in the web :-)

Note You need to log in before you can comment on or make changes to this bug.