aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorDavyd Madeley <davyd@madeley.id.au>2009-06-06 22:30:38 +0800
committerDavyd Madeley <davyd@madeley.id.au>2009-06-06 22:30:38 +0800
commit396aff97047f039c5bca8f3a0da13b9b295e657b (patch)
tree290bfbba382e7a5395b8d16e300b4973a067995d /libempathy-gtk
parentc2392bfba90e89593ddd93c98055b9f477a054ee (diff)
downloadgsoc2013-empathy-396aff97047f039c5bca8f3a0da13b9b295e657b.tar
gsoc2013-empathy-396aff97047f039c5bca8f3a0da13b9b295e657b.tar.gz
gsoc2013-empathy-396aff97047f039c5bca8f3a0da13b9b295e657b.tar.bz2
gsoc2013-empathy-396aff97047f039c5bca8f3a0da13b9b295e657b.tar.lz
gsoc2013-empathy-396aff97047f039c5bca8f3a0da13b9b295e657b.tar.xz
gsoc2013-empathy-396aff97047f039c5bca8f3a0da13b9b295e657b.tar.zst
gsoc2013-empathy-396aff97047f039c5bca8f3a0da13b9b295e657b.zip
Fix silly mistake where I passed the struct pointer and not the first member
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-presence-chooser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-presence-chooser.c b/libempathy-gtk/empathy-presence-chooser.c
index 9f8c568c5..879e04139 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,