[Commits] [SCM] claws branch, master, updated. 3.14.1-99-g471d243
wwp at claws-mail.org
wwp at claws-mail.org
Thu Jan 5 10:27:56 CET 2017
The branch, master has been updated
via 471d243cf77f32f7c974b8b4755f62f0dfd27591 (commit)
from 9a20d31a23bf006a835daee3599780e0ad94666a (commit)
Summary of changes:
src/summaryview.c | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
- Log -----------------------------------------------------------------
commit 471d243cf77f32f7c974b8b4755f62f0dfd27591
Author: wwp <wwp at free.fr>
Date: Thu Jan 5 10:21:50 2017 +0100
Fix wrong function definition, declare it before using it, and make it
static.
diff --git a/src/summaryview.c b/src/summaryview.c
index 9c37711..9413a00 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -159,6 +159,12 @@ static GtkCMCTreeNode *summary_find_msg_by_msgnum
static void summary_update_status (SummaryView *summaryview);
+static void summary_select_node_real(SummaryView *summaryview, GtkCMCTreeNode *node,
+ gint force_display, gboolean ignore_mark_read);
+
+static void summary_select_node_no_mark_read(SummaryView *summaryview, GtkCMCTreeNode *node,
+ gint force_display);
+
/* display functions */
static void summary_status_show (SummaryView *summaryview);
static void summary_set_column_titles (SummaryView *summaryview);
@@ -342,8 +348,8 @@ static gboolean summary_drag_motion_cb(GtkWidget *widget,
static void summary_drag_end(GtkWidget *widget,
GdkDragContext *drag_context,
SummaryView *summaryview);
-/* custom compare functions for sorting */
+/* custom compare functions for sorting */
static gint summary_cmp_by_mark (GtkCMCList *clist,
gconstpointer ptr1,
gconstpointer ptr2);
@@ -2217,8 +2223,6 @@ static gboolean summary_select_retry(void *data)
* 1, display the corresponding message in the message view, if
* @force_display is -1, obey prefs_common.always_show_msg.
**/
-static void summary_select_node_real(SummaryView *summaryview, GtkCMCTreeNode *node,
- gint force_display, gboolean ignore_mark_read);
void summary_select_node(SummaryView *summaryview, GtkCMCTreeNode *node,
gint force_display)
@@ -2227,11 +2231,10 @@ void summary_select_node(SummaryView *summaryview, GtkCMCTreeNode *node,
}
-void summary_select_node_no_mark_read(SummaryView *summaryview, GtkCMCTreeNode *node,
- gint force_display, gboolean ignore_mark_read)
+static void summary_select_node_no_mark_read(SummaryView *summaryview, GtkCMCTreeNode *node,
+ gint force_display)
{
summary_select_node_real(summaryview, node, force_display, TRUE);
-
}
static void summary_select_node_real(SummaryView *summaryview, GtkCMCTreeNode *node,
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list