]> git.0d.be Git - empathy.git/commitdiff
Fix silly mistake where I passed the struct pointer and not the first member
authorDavyd Madeley <davyd@madeley.id.au>
Sat, 6 Jun 2009 14:30:38 +0000 (22:30 +0800)
committerDavyd Madeley <davyd@madeley.id.au>
Sat, 6 Jun 2009 14:30:38 +0000 (22:30 +0800)
libempathy-gtk/empathy-presence-chooser.c

index 9f8c568c52cffa5fd6445d0cfdf4a113dbbb6717..879e04139ad5c80cf0fceacbb097f41975b1a971 100644 (file)
@@ -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,