remove unused call to gtk_widget_size_request(). (Reported by Carlos

2007-06-06  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (gtk_tooltip_paint_window): remove unused
	call to gtk_widget_size_request().  (Reported by Carlos
	Garnacho).


svn path=/trunk/; revision=18052
This commit is contained in:
Kristian Rietveld 2007-06-06 12:33:08 +00:00 committed by Kristian Rietveld
parent 97af2e0063
commit 38b0ef28b0
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2007-06-06 Kristian Rietveld <kris@imendio.com>
* gtk/gtktooltip.c (gtk_tooltip_paint_window): remove unused
call to gtk_widget_size_request(). (Reported by Carlos
Garnacho).
2007-06-06 Kristian Rietveld <kris@imendio.com>
* gtk/gtktooltip.c (gtk_tooltip_show_tooltip): bail out if

View File

@ -350,9 +350,6 @@ gtk_tooltip_reset (GtkTooltip *tooltip)
static gboolean
gtk_tooltip_paint_window (GtkTooltip *tooltip)
{
GtkRequisition req;
gtk_widget_size_request (tooltip->window, &req);
gtk_paint_flat_box (tooltip->window->style,
tooltip->window->window,
GTK_STATE_NORMAL,