no need to g_return_if_fail(tooltips != NULL);

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

	* gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
	g_return_if_fail(tooltips != NULL);


svn path=/trunk/; revision=20016
This commit is contained in:
Michael Natterer 2008-04-17 11:40:33 +00:00 committed by Michael Natterer
parent eafd35dc13
commit 636373ffbf
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-04-17 Michael Natterer <mitch@imendio.com>
* gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
g_return_if_fail(tooltips != NULL);
2008-04-16 Tristan Van Berkom <tvb@gnome.org>
* gtk/gtkwindow.c: Chain up in buildable_finish()

View File

@ -144,8 +144,6 @@ gtk_tooltips_destroy (GtkObject *object)
GtkTooltips *tooltips = GTK_TOOLTIPS (object);
GtkTooltipsPrivate *private = GTK_TOOLTIPS_GET_PRIVATE (tooltips);
g_return_if_fail (tooltips != NULL);
if (tooltips->tip_window)
{
gtk_widget_destroy (tooltips->tip_window);