[gtk+] Don't leak list items of popovers
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Don't leak list items of popovers
- Date: Thu, 20 Feb 2014 22:24:17 +0000 (UTC)
commit 0997303378081a5807380fe67e36ca4082dde244
Author: William Jon McCann <william jon mccann gmail com>
Date: Thu Feb 20 16:41:15 2014 -0500
Don't leak list items of popovers
gtk/gtkwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index b5d1031..7d37b6f 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -2674,7 +2674,7 @@ gtk_window_dispose (GObject *object)
GtkWindowPopover *popover;
popover = priv->popovers->data;
- priv->popovers = g_list_remove_link (priv->popovers, priv->popovers);
+ priv->popovers = g_list_delete_link (priv->popovers, priv->popovers);
popover_destroy (popover);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]