From: Travis Reitter Date: Sat, 26 Jun 2010 18:25:31 +0000 (-0700) Subject: Catch up with convention for getting the view's model. X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=268c9c8237b3948d3613233dc0a6615b5ea191a2 Catch up with convention for getting the view's model. --- diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c index 21859094..a8bee404 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);