Mercurial > pidgin
diff src/prefs.c @ 4892:dc6de8ad81ae
[gaim-migrate @ 5222]
memleak fixes in all kinds of places. mainly in smiley themes.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 25 Mar 2003 06:37:45 +0000 |
parents | e6c7d67c1f3a |
children | 5fe846b7603f |
line wrap: on
line diff
--- a/src/prefs.c Tue Mar 25 06:35:45 2003 +0000 +++ b/src/prefs.c Tue Mar 25 06:37:45 2003 +0000 @@ -242,6 +242,7 @@ 1, description, 2, theme->path, -1); + g_object_unref(G_OBJECT(pixbuf)); g_free(description); themes = themes->next; if (current_smiley_theme && !strcmp(theme->path, current_smiley_theme->path)) { @@ -740,11 +741,6 @@ "SOCKS 5", PROXY_SOCKS5, "HTTP", PROXY_HTTP, NULL); - table = gtk_table_new(2, 2, FALSE); - gtk_container_set_border_width(GTK_CONTAINER(table), 5); - gtk_table_set_col_spacings(GTK_TABLE(table), 5); - gtk_table_set_row_spacings(GTK_TABLE(table), 5); - vbox = make_frame(ret, _("Proxy Server")); prefs_proxy_frame = vbox; @@ -1782,8 +1778,10 @@ gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (tree_v), FALSE); gtk_widget_show(tree_v); /* icons */ + /* XXX: to be used at a later date cell = gtk_cell_renderer_pixbuf_new (); column = gtk_tree_view_column_new_with_attributes ("icons", cell, "pixbuf", 0, NULL); + */ /* text */ cell = gtk_cell_renderer_text_new ();