aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-widget.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2009-04-20 00:26:15 +0800
committerLars-Peter Clausen <lars@metafoo.de>2009-04-21 16:42:14 +0800
commit2a49858ada3c4cba3263441b1970b9a7dc7d5ed5 (patch)
tree99638f84a5480ca3a40485ad6f6117e6d0308c7b /libempathy-gtk/empathy-contact-widget.c
parente0c48133ec3c73cf31ee2d3f3afda7282c617c49 (diff)
downloadgsoc2013-empathy-2a49858ada3c4cba3263441b1970b9a7dc7d5ed5.tar
gsoc2013-empathy-2a49858ada3c4cba3263441b1970b9a7dc7d5ed5.tar.gz
gsoc2013-empathy-2a49858ada3c4cba3263441b1970b9a7dc7d5ed5.tar.bz2
gsoc2013-empathy-2a49858ada3c4cba3263441b1970b9a7dc7d5ed5.tar.lz
gsoc2013-empathy-2a49858ada3c4cba3263441b1970b9a7dc7d5ed5.tar.xz
gsoc2013-empathy-2a49858ada3c4cba3263441b1970b9a7dc7d5ed5.tar.zst
gsoc2013-empathy-2a49858ada3c4cba3263441b1970b9a7dc7d5ed5.zip
Fix memleak in contact_widget_model_populate_columns. Since it not used anywhere
else it does not make sense to add a ref to the renderer, or does it?
Diffstat (limited to 'libempathy-gtk/empathy-contact-widget.c')
-rw-r--r--libempathy-gtk/empathy-contact-widget.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 0b2fb82b8..ef259b0a4 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -53,7 +53,6 @@ typedef struct
EmpathyContactManager *manager;
EmpathyContact *contact;
EmpathyContactWidgetFlags flags;
- GtkCellRenderer *renderer;
guint widget_id_timeout;
GtkWidget *vbox_contact_widget;
@@ -924,11 +923,6 @@ contact_widget_model_populate_columns (EmpathyContactWidget *information)
gtk_tree_view_column_set_sort_column_id (column, COL_NAME);
gtk_tree_view_column_set_resizable (column,FALSE);
gtk_tree_view_column_set_clickable (GTK_TREE_VIEW_COLUMN (column), TRUE);
-
- if (information->renderer)
- g_object_unref (information->renderer);
-
- information->renderer = g_object_ref (renderer);
}
static void