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

@ -892,7 +892,7 @@ remove_page (GtkAssistant *assistant,
g_object_unref (page_info->sidebar_image);
gtk_widget_destroy (page_info->title);
g_free (page_info);
g_slice_free (GtkAssistantPage, page_info);
g_list_free_1 (element);
}
@ -1650,7 +1650,7 @@ gtk_assistant_insert_page (GtkAssistant *assistant,
priv = assistant->priv;
page_info = g_new0 (GtkAssistantPage, 1);
page_info = g_slice_new0 (GtkAssistantPage);
page_info->page = page;
page_info->title = gtk_label_new (NULL);