projects
/
prss.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b3abedb
)
(no commit message)
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Mon, 22 Apr 2013 07:36:33 +0000
(07:36 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Mon, 22 Apr 2013 07:36:33 +0000
(07:36 +0000)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
b810420
..
fd0a11f
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-130,12
+130,11
@@
int feed_cursor_changed_cbk(GtkTreeView *treeview, gpointer data)
for (headlines = feed->headlines; *headlines; headlines++) {
gtk_list_store_append(headline_store, &iter);
for (headlines = feed->headlines; *headlines; headlines++) {
gtk_list_store_append(headline_store, &iter);
- if ((*headlines)->unread)
{
+ if ((*headlines)->unread)
title = g_strdup_printf("<b>%s</b>",
(*headlines)->title);
title = g_strdup_printf("<b>%s</b>",
(*headlines)->title);
- } else {
+ else
title = strdup((*headlines)->title);
title = strdup((*headlines)->title);
- }
gtk_list_store_set(headline_store,
&iter,
gtk_list_store_set(headline_store,
&iter,