diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-08-25 22:14:30 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-08-25 22:14:30 +0800 |
commit | d4e129c0d66340a755a9cb14f91e92539426e76d (patch) | |
tree | 925272e13bdcf6488f76b020f061238a5f1a49d5 | |
parent | 88cdfb884de9b2e288d07924624083a8fabe643f (diff) | |
download | gsoc2013-empathy-d4e129c0d66340a755a9cb14f91e92539426e76d.tar gsoc2013-empathy-d4e129c0d66340a755a9cb14f91e92539426e76d.tar.gz gsoc2013-empathy-d4e129c0d66340a755a9cb14f91e92539426e76d.tar.bz2 gsoc2013-empathy-d4e129c0d66340a755a9cb14f91e92539426e76d.tar.lz gsoc2013-empathy-d4e129c0d66340a755a9cb14f91e92539426e76d.tar.xz gsoc2013-empathy-d4e129c0d66340a755a9cb14f91e92539426e76d.tar.zst gsoc2013-empathy-d4e129c0d66340a755a9cb14f91e92539426e76d.zip |
assert that iter convert don't fail
If they do we did something wrong.
-rw-r--r-- | libempathy-gtk/empathy-irc-network-chooser-dialog.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-irc-network-chooser-dialog.c b/libempathy-gtk/empathy-irc-network-chooser-dialog.c index 8276a17d2..001f1dfbd 100644 --- a/libempathy-gtk/empathy-irc-network-chooser-dialog.c +++ b/libempathy-gtk/empathy-irc-network-chooser-dialog.c @@ -242,8 +242,8 @@ fill_store (EmpathyIrcNetworkChooserDialog *self) GtkTreeIter filter_iter; /* Convert to a filter iter */ - gtk_tree_model_filter_convert_child_iter_to_iter (priv->filter, - &filter_iter, &iter); + g_assert (gtk_tree_model_filter_convert_child_iter_to_iter ( + priv->filter, &filter_iter, &iter)); select_iter (self, &filter_iter, FALSE); } @@ -273,8 +273,8 @@ irc_network_dialog_destroy_cb (GtkWidget *widget, COL_NETWORK_NAME, empathy_irc_network_get_name (network), -1); /* Convert to a filter iter */ - gtk_tree_model_filter_convert_child_iter_to_iter (priv->filter, &filter_iter, - &iter); + g_assert (gtk_tree_model_filter_convert_child_iter_to_iter (priv->filter, + &filter_iter, &iter)); scroll_to_iter (self, &iter); @@ -323,8 +323,8 @@ add_network (EmpathyIrcNetworkChooserDialog *self) -1); /* Convert to a filter iter */ - gtk_tree_model_filter_convert_child_iter_to_iter (priv->filter, &filter_iter, - &iter); + g_assert (gtk_tree_model_filter_convert_child_iter_to_iter (priv->filter, + &filter_iter, &iter)); select_iter (self, &filter_iter, TRUE); |