rem: toplevel = GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (bvw)));
add: gdk_drawable_get_size (GDK_DRAWABLE (GTK_WIDGET (toplevel)->window), &win_w, &win_h);
context: bacon_video_widget_set_scale_ratio (BaconVideoWidget *bvw, gfloat ratio){	GtkWindow *toplevel;	int new_w, new_h;	g_return_if_fail (bvw != NULL);	g_return_if_fail (BACON_IS_VIDEO_WIDGET (bvw));	g_return_if_fail (bvw->priv->xine != NULL);	g_return_if_fail (ratio >= 0);	if (bvw->priv->fullscreen_mode == TRUE)		return;	/* Try best fit for the screen */	if (ratio == 0)	{		if (bacon_video_widget_ratio_fits_screen (bvw, 2) == TRUE)			ratio = 2;		else if (bacon_video_widget_ratio_fits_screen (bvw, 1) == TRUE)			ratio = 1;		else if (bacon_video_widget_ratio_fits_screen (bvw, 0.5) == TRUE)			ratio = 0.5;		else			return;	} else {		/* don't scale to something bigger than the screen, and leave		 * us some room */		if (bacon_video_widget_ratio_fits_screen (bvw, ratio) == FALSE)			return;	}	new_w = bvw->priv->video_width * ratio;	new_h = bvw->priv->video_height * ratio;	toplevel = GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (bvw)));	gtk_window_set_resizable (toplevel, FALSE);	bvw->widget.allocation.width = new_w;	bvw->widget.allocation.height = new_h;	gtk_widget_set_size_request (gtk_widget_get_parent (GTK_WIDGET (bvw)),			new_w, new_h);	gtk_widget_queue_resize (gtk_widget_get_parent (GTK_WIDGET (bvw)));	gtk_window_set_resizable (toplevel, TRUE);}