summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-08-24 21:23:29 +0200
committerBenjamin Otte <otte@redhat.com>2015-08-24 21:28:53 +0200
commita7f40fc0ea24a50237fd3e56e047747855a67b97 (patch)
tree7c46b69748104ca76df2a7ea0ad814827dce5975 /demos
parentca4823c250a1e43c23beeedb601ab118c8116225 (diff)
downloadgtk+-a7f40fc0ea24a50237fd3e56e047747855a67b97.tar.gz
gtk-demo: Order tweets newest first in listbox example
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/listbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/listbox.c b/demos/gtk-demo/listbox.c
index 3941f2dbcf..eeeda5aa91 100644
--- a/demos/gtk-demo/listbox.c
+++ b/demos/gtk-demo/listbox.c
@@ -295,7 +295,7 @@ gtk_message_row_new (GtkMessage *message)
static int
gtk_message_row_sort (GtkMessageRow *a, GtkMessageRow *b, gpointer data)
{
- return a->priv->message->time - b->priv->message->time;
+ return b->priv->message->time - a->priv->message->time;
}
static void