Skip to content

Commit

Permalink
Make it build without warnings.
Browse files Browse the repository at this point in the history
svn path=/trunk/; revision=29706
  • Loading branch information
stigbjorlykke committed Sep 5, 2009
1 parent 95ddec4 commit f91c467
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gtk/packet_list_store.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit f91c467

Please sign in to comment.