[gtk/gtk-2-24: 1/4] modules/other/gail/gailtreeview.c: Fix -Waddress warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-2-24: 1/4] modules/other/gail/gailtreeview.c: Fix -Waddress warning
- Date: Fri, 20 Jul 2018 14:25:07 +0000 (UTC)
commit 8715570f45be46e4afbad42b188ff11d74a2200a
Author: Brady Minardi <bradyminardi fake-box com>
Date: Sat Jul 14 07:56:39 2018 +0000
modules/other/gail/gailtreeview.c: Fix -Waddress warning
modules/other/gail/gailtreeview.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/modules/other/gail/gailtreeview.c b/modules/other/gail/gailtreeview.c
index df0fc69f9f..bcc406a581 100644
--- a/modules/other/gail/gailtreeview.c
+++ b/modules/other/gail/gailtreeview.c
@@ -1467,10 +1467,7 @@ gail_tree_view_add_row_selection (AtkTable *table,
else
{
set_iter_nth_row (tree_view, &iter_to_row, row);
- if (&iter_to_row != NULL)
- gtk_tree_selection_select_iter (selection, &iter_to_row);
- else
- return FALSE;
+ gtk_tree_selection_select_iter (selection, &iter_to_row);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]