[empathy/gnome-2-26] Fix memleak in contact_widget_model_populate_columns. Since it not used anywhere
- From: Lars-Peter Clausen <larsc src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy/gnome-2-26] Fix memleak in contact_widget_model_populate_columns. Since it not used anywhere
- Date: Tue, 21 Apr 2009 06:31:32 -0400 (EDT)
commit f74a12cdaac4f3106f32e137579c59fc2ccacc5f
Author: Lars-Peter Clausen <lars metafoo de>
Date: Sun Apr 19 18:26:15 2009 +0200
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?
---
libempathy-gtk/empathy-contact-widget.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index f8ff367..eaffc62 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -54,7 +54,6 @@ typedef struct
EmpathyContactManager *manager;
EmpathyContact *contact;
EmpathyContactWidgetFlags flags;
- GtkCellRenderer *renderer;
guint widget_id_timeout;
GtkWidget *vbox_contact_widget;
@@ -931,11 +930,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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]