Allocate with GSlice:

2008-07-04  Michael Natterer  <mitch@imendio.com>

	Allocate with GSlice:

	* gtk/gtkassistant.c: GtkAssistantPage
	* gtk/gtkcellview.c: GtkCellViewCellInfo
	* gtk/gtkentry.c: GtkEntryPasswordHint, PopupInfo
	* gtk/gtkfilefilter.c: FilterRule
	* gtk/gtknotebook.c: GtkNotebookPage


svn path=/trunk/; revision=20761
This commit is contained in:
Michael Natterer
2008-07-04 14:27:40 +00:00
committed by Michael Natterer
parent d905a906a4
commit da4da16baf
6 changed files with 26 additions and 16 deletions

View File

@ -4044,7 +4044,7 @@ gtk_notebook_real_insert_page (GtkNotebook *notebook,
gtk_widget_freeze_child_notify (child);
page = g_new0 (GtkNotebookPage, 1);
page = g_slice_new0 (GtkNotebookPage);
page->child = child;
nchildren = g_list_length (notebook->children);
@ -4387,7 +4387,7 @@ gtk_notebook_real_remove (GtkNotebook *notebook,
page->last_focus_child = NULL;
}
g_free (page);
g_slice_free (GtkNotebookPage, page);
gtk_notebook_update_labels (notebook);
if (need_resize)