mirror of https://github.com/djcb/mu.git
* Makefile.am, mug-msg-list-view.c: fix line33 test
This commit is contained in:
parent
f59ac88118
commit
a5b913e66c
|
@ -33,7 +33,7 @@ tags:
|
|||
# tool. If all is fine, it outputs nothing
|
||||
cc10:
|
||||
@$(PMCCABE) `find -name '*.c' -o -name '*.cc'` \
|
||||
| grep -v mu-msg-str-normalize.c \
|
||||
| grep -v mu-str-normalize.c \
|
||||
| sort -nr | awk '($$1 > 10)'
|
||||
|
||||
# this warns about functions that are over 33 non-comment lines long, which is a
|
||||
|
@ -42,7 +42,7 @@ cc10:
|
|||
# note, mu_msg_str_normalize is excempted from this rule.
|
||||
line33:
|
||||
@$(PMCCABE) -c `find -name '*.c' -o -name '*.cc'` \
|
||||
| grep -v mu-msg-str-normalize.c \
|
||||
| grep -v mu-str-normalize.c \
|
||||
| awk '($$5 > 33)'
|
||||
|
||||
# get all todo/fixme messages
|
||||
|
|
|
@ -204,7 +204,6 @@ mug_msg_list_view_init (MugMsgListView *obj)
|
|||
|
||||
tview = GTK_TREE_VIEW (obj);
|
||||
gtk_tree_view_set_model (tview, GTK_TREE_MODEL(priv->_store));
|
||||
|
||||
gtk_tree_view_set_headers_clickable (GTK_TREE_VIEW(obj), TRUE);
|
||||
gtk_tree_view_set_grid_lines (GTK_TREE_VIEW(obj),
|
||||
GTK_TREE_VIEW_GRID_LINES_VERTICAL);
|
||||
|
@ -218,8 +217,7 @@ mug_msg_list_view_init (MugMsgListView *obj)
|
|||
append_col (tview, "Subject", MUG_COL_SUBJECT, -1, 0);
|
||||
|
||||
g_signal_connect (G_OBJECT(obj), "cursor-changed",
|
||||
G_CALLBACK(on_cursor_changed),
|
||||
obj);
|
||||
G_CALLBACK(on_cursor_changed), obj);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue