diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-09-05 11:15:50 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-09-05 11:15:50 +0000 |
commit | f91c46757a8d7a8b7323a740167f71b21dc134a8 (patch) | |
tree | 5cd8b4599d433011b6e7d0d06da5db6dddf2d5f9 | |
parent | 95ddec4d07eafd83f1a7177083d13d89740e8790 (diff) |
Make it build without warnings.
svn path=/trunk/; revision=29706
-rw-r--r-- | gtk/packet_list_store.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/packet_list_store.c b/gtk/packet_list_store.c index 3a29f3ebfa..bd9ae49da8 100644 --- a/gtk/packet_list_store.c +++ b/gtk/packet_list_store.c @@ -281,7 +281,7 @@ packet_list_get_iter(GtkTreeModel *tree_model, GtkTreeIter *iter, PacketList *packet_list; PacketListRecord *record; gint *indices, depth; - guint n; + gint n; g_assert(PACKETLIST_IS_LIST(tree_model)); g_assert(path != NULL); @@ -496,7 +496,7 @@ packet_list_iter_nth_child(GtkTreeModel *tree_model, GtkTreeIter *iter, /* Special case: if parent == NULL, set iter to n-th top-level row. */ if(!PACKET_LIST_RECORD_INDEX_VALID(packet_list->visible_rows, n)) - return NULL; + return FALSE; record = PACKET_LIST_RECORD_GET(packet_list->visible_rows, n); |