aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2010-08-31 06:30:31 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2010-08-31 06:30:31 +0800
commit73044d650a7d5368f10a09fb0ebe2afc444e95a5 (patch)
treecff08c468f3fee07807906a0702f42cff4e9514a /src
parent0d517b7ef081dd70392f60635d6814189117bcd5 (diff)
downloadgsoc2013-epiphany-73044d650a7d5368f10a09fb0ebe2afc444e95a5.tar
gsoc2013-epiphany-73044d650a7d5368f10a09fb0ebe2afc444e95a5.tar.gz
gsoc2013-epiphany-73044d650a7d5368f10a09fb0ebe2afc444e95a5.tar.bz2
gsoc2013-epiphany-73044d650a7d5368f10a09fb0ebe2afc444e95a5.tar.lz
gsoc2013-epiphany-73044d650a7d5368f10a09fb0ebe2afc444e95a5.tar.xz
gsoc2013-epiphany-73044d650a7d5368f10a09fb0ebe2afc444e95a5.tar.zst
gsoc2013-epiphany-73044d650a7d5368f10a09fb0ebe2afc444e95a5.zip
Revert "pdm-dialog: plug leak"
This reverts commit 7af882d9bb8e04ee2e451ccfff3a14d91a849704.
Diffstat (limited to 'src')
-rw-r--r--src/pdm-dialog.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 9a97a5bce..8637a0b1c 100644
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -354,15 +354,13 @@ clear_all_dialog_checkbutton_toggled_cb (GtkToggleButton *toggle,
static GtkWidget*
_gtk_message_dialog_get_content_area (GtkMessageDialog *dialog)
{
- GtkWidget *image, *parent, *box;
+ GtkWidget *image, *parent;
GList *children;
image = gtk_message_dialog_get_image (dialog);
parent = gtk_widget_get_parent (image);
children = gtk_container_get_children (GTK_CONTAINER (parent));
- box = GTK_WIDGET (children->next->data);
- g_list_free (children);
- return box;
+ return GTK_WIDGET (children->next->data);
}
void