[empathy] Fix silly mistake where I passed the struct pointer and not the first member



commit 396aff97047f039c5bca8f3a0da13b9b295e657b
Author: Davyd Madeley <davyd madeley id au>
Date:   Sat Jun 6 22:30:38 2009 +0800

    Fix silly mistake where I passed the struct pointer and not the first member
---
 libempathy-gtk/empathy-presence-chooser.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libempathy-gtk/empathy-presence-chooser.c b/libempathy-gtk/empathy-presence-chooser.c
index 9f8c568..879e041 100644
--- a/libempathy-gtk/empathy-presence-chooser.c
+++ b/libempathy-gtk/empathy-presence-chooser.c
@@ -195,7 +195,7 @@ presence_chooser_create_model (EmpathyPresenceChooser *self)
 				gtk_list_store_insert_with_values (store,
 					NULL, -1,
 					COL_STATE_ICON_NAME, icon_name,
-					COL_STATE, states[i],
+					COL_STATE, states[i].state,
 					COL_STATUS_TEXT, l->data,
 					COL_DISPLAY_MARKUP, l->data,
 					COL_STATUS_CUSTOMISABLE, TRUE,
@@ -206,7 +206,7 @@ presence_chooser_create_model (EmpathyPresenceChooser *self)
 
 			gtk_list_store_insert_with_values (store, NULL, -1,
 				COL_STATE_ICON_NAME, icon_name,
-				COL_STATE, states[i],
+				COL_STATE, states[i].state,
 				COL_STATUS_TEXT, "",
 				COL_DISPLAY_MARKUP, custom_message,
 				COL_STATUS_CUSTOMISABLE, TRUE,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]