[empathy] Catch up with convention for getting the view's model.
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Catch up with convention for getting the view's model.
- Date: Tue, 20 Jul 2010 23:21:46 +0000 (UTC)
commit 268c9c8237b3948d3613233dc0a6615b5ea191a2
Author: Travis Reitter <treitter gmail com>
Date: Sat Jun 26 11:25:31 2010 -0700
Catch up with convention for getting the view's model.
libempathy-gtk/empathy-individual-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index 2185909..a8bee40 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -885,7 +885,7 @@ individual_view_row_activated (GtkTreeView *view,
return;
}
- model = GTK_TREE_MODEL (priv->store);
+ model = gtk_tree_view_get_model (GTK_TREE_VIEW (view));
gtk_tree_model_get_iter (model, &iter, path);
gtk_tree_model_get (model, &iter,
EMPATHY_INDIVIDUAL_STORE_COL_INDIVIDUAL, &individual, -1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]